Network drives & ssh access

Quanah Gibson-Mount quanah@zimbra.com
Fri Sep 3 19:29:00 GMT 2010


--On Tuesday, August 24, 2010 1:35 PM -0700 Quanah Gibson-Mount <> wrote:

> --On Tuesday, August 24, 2010 1:19 PM -0400 "Larry Hall (Cygwin)"
> <> wrote:
>
>> A missing password is likely your problem, since that's at the heart of
>> your original problem really.  But I actually wasn't thinking of this
>> option
>> as the solution to your problem when I pointed you at the FAQ.  Running
>> a service as the user you'll log in as is really just a workaround.
>> I was thinking more of:
>>
>> <http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-nopasswd3>
>
> Using the passwd -R bit did not change the behavior.  I still am unable
> to access the network share when logging in via SSH, but it works just
> fine when starting cygwin locally.
>
> I will note that the network share (CIFS) uses a different
> username/password than my local user/password on the windows box (That,
> unfortunately, is not under my control).
>
> However, I set up the share using net use \\IP\share /savecreds, and that
> does mount the drive to Windows at least every time without prompting,
> and Cygwin locally is able to use it.  It is only an issue with the SSH
> connection.

The CIFS mount now uses the same username/password as the windows user.  I 
have used passwd -R to store the user's password in the registry.  The 
drive again shows up when launching cygwin manually, and it still fails to 
show up when I use ssh to connect.

--Quanah

--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list