How do I edit files in the console when connecting to windows 7 via ssh?

Posted by Alex Waters on Super User See other posts from Super User or by Alex Waters
Published on 2012-10-07T07:25:55Z Indexed on 2012/10/07 9:41 UTC
Read the original article Hit count: 150

Filed under:
|
|

I am using tunnelier client and server to connect to a windows machine. I can get in and have access to all of the files on the computer. I have vim installed on that windows machine, but I can't seem to edit anything via the DOS command line. I also tried editing in notepad, but nothing happens when I enter the command. I think this might be the part where DOS doesn't behave like bash.

Would I need to setup cygwin / openssh to accomplish this? (boo, tunnelier is so easy)

Thanks!

p.s. I know I could just use sftp and edit files that way, but it feels dirty.

© Super User or respective owner

Related posts about Windows

Related posts about vim