Access to Network Drive under ssh

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Jun 30 09:58:00 GMT 2006


On Jun 30 11:38, Corinna Vinschen wrote:
> On Jun 29 22:46, Richard Foulk wrote:
> > I've written my own mount command for Cygwin in Perl.  One thing to
> > be aware of is that drive letters aren't necessary with Cygwin.
> > 
> > You can't say: `cd \\xyz\c$' with Windows cmd.exe.
> > 
> > You *can* say things like: `cd //xyz/c\$' in Cygwin.  This cleans up
> > many things.  If you have the right permissions `net use' isn't necessary!
> > 
> > A wrapper for `net use' in Perl is pretty easy to do, including all
> > the password stuff.
> > 
> > Those drive letters just get in the way.  Don't use them.
> 
> To add another data point:
> 
> When running under a public key ssh session, you're running in the login
> session of the SYSTEM user.  Also, since you used pubkey instead of
> password login, you don't have the credentials for network access.  This
> has two results:

Three, it were three results:

> - You must use the net command to connect to non-public shares.
> - You must use username and password in the net use command.
> - You can't use drive letters.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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



More information about the Cygwin mailing list