SSH to drive letter in Windows 2003

0

I have a Windows 2003 server running a SSH server (WRQ Reflection), how would I ssh to it and specify a specific drive letter? (like the D: drive)

ex: from another workstation: ssh meuser1@somewindowsbox-running-ssh-server.com d:

When I do that it fails and I get this error: "exec request failed on channel 0" If I simply SSH to that same windowsbox without trying to specify a drive letter I get a Windows (CMD.EXE) command prompt shell on the C: drive. I can then run any windows command.

Thanks

Jean Gionet

Posted 2012-03-15T19:48:33.967

Reputation: 1

Answers

0

ssh ssh://meuser1@somewindowsbox-running-ssh-server.com/D:/path/to/file as example for D:\path\to\file physical path.

Newer tried path with spaces, can say nothing

Lazy Badger

Posted 2012-03-15T19:48:33.967

Reputation: 3 557

thanks for the quick reply!

I tried what you suggested: ssh ssh://meuser1@somewindowsbox-running-ssh-server.com/D:/

ssh: Could not resolve hostname meuser1@somewindowsbox-running-ssh-server.com/D:/: hostname nor servname provided, or not known" – Jean Gionet – 2012-03-16T19:04:04.623

@JohnnyG76 - use known to exist hostname for connect (I wrote just fictional URL). Path doesn't correlate to resolver work in any way – Lazy Badger – 2012-03-16T20:02:27.110