delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Problems with net use statement via sshd on cygwin |
References: | <Pine DOT GSO DOT 4 DOT 44 DOT 0304072201360 DOT 21921-100000 AT slinky DOT cs DOT nyu DOT edu> |
From: | Eric Hanchrow <offby1 AT blarg DOT net> |
Date: | 07 Apr 2003 23:07:16 -0700 |
In-Reply-To: | <Pine.GSO.4.44.0304072201360.21921-100000@slinky.cs.nyu.edu> |
Message-ID: | <87wui57ca3.fsf@blarg.net> |
Lines: | 33 |
User-Agent: | Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
MIME-Version: | 1.0 |
> 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |