This is the mail archive of the cygwin@cygwin.com 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: Problems with net use statement via sshd on cygwin


>     18:32:07 [erich at slop erich]$ ssh alpha
>     erich at alpha's password:
>     Last login: Mon Apr  7 13:23:14 2003 from slop.vhcorp.com
>     Fanfare!!!
>     You are successfully logged in to this server!!!
>
>     18:32:45 [erich at alpha erich]$ net use \* \\\\10.10.89.89\\d$ /u:user "password"
>     Drive J: is now connected to \\10.10.89.89\d$.
>
>     The command completed successfully.
>
>     18:32:52 [erich at alpha erich]$

>>>>> "Igor" == Igor Pechtchanski <pechtcha at cs dot nyu dot edu> writes:

    Igor> You need to double them if you pass the "net use" command
    Igor> through ssh.

Could you explain that further?  I've never needed to double them, as
you can see from the example.  The only time that ssh requires me to
type anything differently is the tilde (and then only when it's
immediately preceded by a carriage-return, which is pretty rare) -- I
have to type it twice.

Or did you mean something like this --

        unix$ ssh windoze net use j: \\\\\\\\server\\\\host /u:user password

-- 
But users will not now with glad cries glom on to a language that
gives them no more than what Scheme or Pascal gave them.

        -- Guy Steele, http://www.sun.com/research/jtech/pubs/98-oopsla-growing.ps

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


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