Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question

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

share|improve this answer
    
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 Mar 16 '12 at 19:04
    
@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 Mar 16 '12 at 20:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .