delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/15/11:43:10

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 15 Apr 2003 18:39:04 +0300
From: Sergei Kolodka <folio AT infocom DOT zp DOT ua>
X-Priority: 3 (Normal)
Message-ID: <1834845016.20030415183904@infocom.zp.ua>
To: Igor Pechtchanski <cygwin AT cygwin DOT com>
Subject: Re[2]: ssh and mount
In-Reply-To: <Pine.GSO.4.44.0304151131100.22724-100000@slinky.cs.nyu.edu>
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0304151131100 DOT 22724-100000 AT slinky DOT cs DOT nyu DOT edu>
MIME-Version: 1.0

Hello Igor,


Thanks !

IP> 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 ?

IP> Sergei,

IP> ssh runs under the local System account, so it won't see "user" mounts.
IP> I'm guessing you changed the cygdrive prefix for your login user to
IP> "/mnt".  If you want all users to see that as your cygdrive prefix, you
IP> should repeat the "mount -c" command, also giving it the "-s"  flag this
IP> time.
IP> Also, ssh pubkey authentication will not be honored by the network servers
IP> (thus you won't see networked drives).  Password authentication should not
IP> have that problem.
IP>         Igor



-- 
Best regards,
 Sergei                            mailto:folio AT infocom DOT zp DOT ua


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019