This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gui connecting to net shares from an ssh session


On Thu, Oct 9, 2008 at 16:24, Sam Liddicott wrote:
> Part of what is being tested is connecting to remote shares.
>
> However :-) an ssh client login (even with a password) doesn't seem to
> have the right domain credentials, so that a password prompt is
> presented when a connection is made.
 [...]
> How can I cause the ssh login to have these credentials so that it does
> not prompt for a password?

My scripts use the following command:

net use \\\\$srv\\$share /user:$HOSTNAME\\$SHARE_USER $SHARE_PASS

The credentials are read from a separate file.

-- 
...Bye..Dmitry.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]