Problems with net use from ssh logged on user vs cygwin user on console

Igor Pechtchanski pechtcha@cs.nyu.edu
Tue Apr 8 19:30:00 GMT 2003


On Tue, 8 Apr 2003, Richard Sharpe wrote:

> Hi,
>
> In trying to figure out my problems with Net Use via ssh, I noticed the
> following.
>
> If I log on to my Win2K system with ssh, I can do net use blah blah and I
> get a drive that I can use and so forth.
>
> However, if I look@what drives are mapped from a cygwin window on the
> console, these drives show up as unavailable, and when I try to use them,
> as in:
>
>   dir j:
>
> I get the following error message:
>
> dir: j\:: no such file or directory
>
> which suggests that the ssh logged on process is actually adding a literal
> : in the device name or something.
>
> Has anyone seen this? Does anyone know a work around? Using some single
> quotes around strings did not help.
>
> Regards
> Richard Sharpe

The second colon is added by the "ls" command.  Try "ls /cygdrive/j" --
you'll get the same result.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


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



More information about the Cygwin mailing list