The "problem" is that logging with ssh with your username you are not
really logged as your user (that has the network drives mapped) but,
instead, as SYSTEM (that has no network drive map (also because it is
not a network user)).
This also applies to telnet and to all the other mechanisms that,
through Cygwin, allow you to log to your machine.
A workaround is to manually map the network drives manually (using NET
USE) after you log with ssh.
Ciao,
Danilo
Felipe Franciosi wrote:
Some people replied directly to me reporting the same problem.
Does anyone have a solution???
[]s
--
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
Felipe Franciosi +55-51-91230557
CPAD/HP/PUCRS – Centro de Pesquisa em Alto Desempenho
http://www.cpad.pucrs.br/ [EMAIL PROTECTED]
Porto Alegre, RS - Brazil
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
-----Mensagem original-----
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de
Felipe Franciosi
Enviada em: segunda-feira, 21 de novembro de 2005 20:41
Para: cygwin@cygwin.com
Assunto: Problem accessing samba shares via ssh in XP
Hello All,
I'm not sure if this has already been discussed here, but I couldn't find
anything related using google.
I have a WinXP box running cygwin and SSHD. In this XP, I have mounted some
shares exported by a linux box trough smb.
When I log in locally (e.g. run xterm -l) I see the shares in /cygdrive. But
I when I log in via ssh, they are simply not there...
See:
[EMAIL PROTECTED]
$ cd /cygdrive
[EMAIL PROTECTED]/cygdrive]
$ ls
c/ d/ x/ y/ z/
[EMAIL PROTECTED]/cygdrive]
$ ssh localhost
[EMAIL PROTECTED]'s password:
Last login: Mon Nov 21 19:48:08 2005 from localhost
Fanfare!!!
You are successfully logged in to this server!!!
[EMAIL PROTECTED]
$ cd /cygdrive
[EMAIL PROTECTED]/cygdrive]
$ ls
c/ d/
[EMAIL PROTECTED]/cygdrive]
$
Any ideas on what's going on ??
Thanks
p.s. Here is some weird debugging:
[EMAIL PROTECTED]
$ net use
Novas conexões serão lembradas.
Status Local Remoto Rede
----------------------------------------------------------------------------
---
OK X: \\jacaranda\ozzy Rede Microsoft Windows
Desconectado Y: \\jacaranda\public Rede Microsoft Windows
OK Z: \\arrakis\franciosi Rede Microsoft Windows
Comando concluído com êxito.
[EMAIL PROTECTED]
$ ssh localhost
[EMAIL PROTECTED]'s password:
Last login: Mon Nov 21 20:36:15 2005 from
localhost
Fanfare!!!
You are successfully logged in to this server!!!
[EMAIL PROTECTED]
$ net use
Novas conexões serão lembradas.
Status Local Remoto Rede
----------------------------------------------------------------------------
---
Não disponív X: \\jacaranda\ozzy Rede Microsoft Windows
NÆo dispon¡v Y: \\jacaranda\public Rede Microsoft Windows
NÆo dispon¡v Z: \\arrakis\franciosi Rede Microsoft Windows
Comando concluído com êxito.
[EMAIL PROTECTED]
$
Disregarding the codepages issue, here is some important translations:
"NÆo dispon¡v" is actually "Não disponível", which means "Unavailable".
"Desconectado" naturally stands for "Disconnected".
--
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
Felipe Franciosi +55-51-91230557
CPAD/HP/PUCRS – Centro de Pesquisa em Alto Desempenho
http://www.cpad.pucrs.br/ [EMAIL PROTECTED]
Porto Alegre, RS - Brazil
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/