ssh and mount

Vince Hoffman Vince.Hoffman@uk.circle.com
Tue Apr 15 16:46:00 GMT 2003


Logging in using passwordless authentication doesn't create the necessary
tokens for network authentication (would open all sorts of nasty security
holes if it did) so if you want you mapped drives visible you will need to
use password authentication or remap your network drives at each login. if
you really want passwordless login and network access either make an expect
script with your password in it (only a little less secure than an ssh key
with a blank pass phrase) or look into running sshd as a user with network
access (rather than local system) which is also rather insecure and raises
other issue if I recall rightly. (search the mailing list.)

> -----Original Message-----
> From: Sergei Kolodka [mailto:folio@infocom.zp.ua]
> Sent: 15 April 2003 16:20
> To: cygwin@cygwin.com
> Subject: Re[2]: ssh and mount
> 
> 
> Tuesday, April 15, 2003, 6:18:02 PM, you wrote:
> 
> Yes, network drives are x, y, z from first table.
> c, d, e, f, g, h, i - local.
> 
> VH> Would i be correct in guessing that the missing drives 
> are network drives
> VH> and the rest are local ?
> 
> 
> >> -----Original Message-----
> >> From: Sergei Kolodka [mailto:folio@infocom.zp.ua]
> >> Sent: 15 April 2003 16:12
> >> To: cygwin@cygwin.com
> >> Subject: ssh and mount
> >> 
> >> 
> >> 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@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@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 ?
> >> 
> >> -- 
> >> Best regards,
> >> Sergei
> >> folio@infocom.zp.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/
> >> 
> 
> 
> -- 
> Best regards,
> Sergei
> folio@infocom.zp.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/
> 

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



More information about the Cygwin mailing list