Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Tue, 15 Apr 2003 11:35:00 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Sergei Kolodka cc: cygwin AT cygwin DOT com Subject: Re: ssh and mount In-Reply-To: <1663190988.20030415181130@ukrname.com> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 15 Apr 2003, Sergei Kolodka wrote: > Hello list, > > Here's weird (for me, as newbie) error. > > OpenSSH_3.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090603f > Putty Release 0.53b > cygwin-1.3.10-1 > > If I try login to local system with putty and password-based > ssh1 authentication, $mount show following (correct, same as > through login with cygwin.bat) table: > > Nobody AT VIC ~ > $ mount > Device Directory Type Flags > F:\cygwin\usr\X11R6\lib\X11\fonts /usr/X11R6/lib/X11/fonts system binmode > F:\cygwin\bin /usr/bin system binmode > F:\cygwin\lib /usr/lib system binmode > F:\cygwin / system binmode > c: /mnt/C user binmode > d: /mnt/D user binmode > e: /mnt/E user binmode > f: /mnt/F user binmode > g: /mnt/G user binmode > h: /mnt/H user binmode > i: /mnt/I user binmode > x: /mnt/x user binmode > y: /mnt/y user binmode > z: /mnt/z user binmode > > > But if I simultaneously try to login using ssh1 RSA based > authentication (and public key method from ssh2 as well)- I > get wrong table: > > Nobody AT VIC ~ > $ mount > Device Directory Type Flags > F:\cygwin\usr\X11R6\lib\X11\fonts /usr/X11R6/lib/X11/fonts system binmode > F:\cygwin\bin /usr/bin system binmode > F:\cygwin\lib /usr/lib system binmode > F:\cygwin / system binmode > c: /cygdrive/c user binmode,noumount > e: /cygdrive/e user binmode,noumount > f: /cygdrive/f user binmode,noumount > g: /cygdrive/g user binmode,noumount > h: /cygdrive/h user binmode,noumount > i: /cygdrive/i user binmode,noumount > > Can someone shed some light what happened ? Sergei, ssh runs under the local System account, so it won't see "user" mounts. I'm guessing you changed the cygdrive prefix for your login user to "/mnt". If you want all users to see that as your cygdrive prefix, you should repeat the "mount -c" command, also giving it the "-s" flag this time. Also, ssh pubkey authentication will not be honored by the network servers (thus you won't see networked drives). Password authentication should not have that problem. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Knowledge is an unending adventure at the edge of uncertainty. -- Leto II -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/