Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.