This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Dir not mounted when logging in through ssh
- From: Igor Peshansky <pechtcha at cs dot nyu dot edu>
- To: Alexander dot Farber at nokia dot com
- Cc: cygwin at cygwin dot com
- Date: Tue, 20 Jun 2006 13:00:26 -0400 (EDT)
- Subject: Re: Dir not mounted when logging in through ssh
- References: <3BD8CF653D67544E9D2768E3F10FFC5D7EE671@boebe101.NOE.Nokia.com>
- Reply-to: cygwin at cygwin dot com
On Tue, 20 Jun 2006, Alexander.Farber wrote:
> Hello,
>
> I have a problem that a directory ( /cygdrive/h mounted
> to the H:\ which is in turn mounted to \\bonfs01\afarber )
> is visible in the normal Cygwin console, but disappears
> when I login into the same PC via OpenSSH:
>
> afarber@BOWEC101 ~
> $ mount
> C:\apps\Cygwin\bin on /usr/bin type system (binmode)
> C:\apps\Cygwin\lib on /usr/lib type system (binmode)
> \\bonfs01\afarber on /cygdrive/f type system (binmode,noexec)
> C:\apps\Cygwin on / type system (binmode)
> c: on /cygdrive/c type system (binmode,noumount)
> e: on /cygdrive/e type system (binmode,noumount)
> h: on /cygdrive/h type system (binmode,noumount)
>
> afarber@BOWEC101 ~
> $ hostname
> BOWEC101
>
> afarber@BOWEC101 ~
> $ ssh bowec101 "mount"
> Warning: Permanently added 'bowec101,172.25.91.22' (RSA) to the list of
> known hosts.
> afarber@bowec101's password:
> C:\apps\Cygwin\bin on /usr/bin type system (binmode)
> C:\apps\Cygwin\lib on /usr/lib type system (binmode)
> \\bonfs01\afarber on /cygdrive/f type system (binmode,noexec)
> C:\apps\Cygwin on / type system (binmode)
> c: on /cygdrive/c type system (binmode,noumount)
> e: on /cygdrive/e type system (binmode,noumount)
>
>
> There is some /cygdrive/f dir instead,
> but I can't access it, when logged in via OpenSSH:
>
> $ ll /cygdrive/f
> ls: /cygdrive/f: No such file or directory
>
>
> Does anybody please have an idea what is happening?
> Using newest Cygwin (but not a snapshot) and Win 2003.
<http://cygwin.com/faq/faq.using.html#faq.using.shares>.
Depending on your setup, you might be able to issue a 'net use' command
from your ssh session to allow connecting to that share.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!)
|,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"
--
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/