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 can connect remotely to my unix server via SSH, both ftp and shell mode using port 22. However I am not able to do so in Visual Studio. I want to be able to edit files live in a GUI interface.

Any solutions for this?


share|improve this question

migrated from Apr 8 '10 at 0:29

This question came from our site for professional and enthusiast programmers.

So complain to Microsoft to add this feature, because it's their closed-source proprietary product (so you can't add the feature yourself) and you paid for it (which gives you at least moral right) to fill in a feature request. – geek May 17 '10 at 14:49
Wait, you want to run a X-server in visual studio? Has it ever offered that functionality, or even anything remotely like it? – Fake Name Jul 22 '10 at 7:34
@Fake: I think he meant editing over SFTP, some text editors are capable of it. – grawity Sep 6 '10 at 19:29

You should try expandrive. I haven't used it myself, but it emulates the remote host as an extra drive.

Searching around for a "sshfs for windows" I also came across dokan. It seems to do something similar.

share|improve this answer

You could try using Cygwin or Xming which would run X on your windows computer. Then you can run any gui you can find on the linux computer over the ssh by executing it from the command line. It's similar to adding the -X flag to an ssh command between linux boxes. Unfortunately this wouldn't give you the ability to run Visual Studio but you can run gedit, or any IDE that you want that runs native on Linux.

share|improve this answer

If you want to use Visual Studio running on a Windows Pc to be able to open files directly, you will have to use some kind of file server technology. There are two options, either you install samba on the unix box to make it work like a windows server or install NFS on the unix and an NFS client on Windows.

If you have firewall restrictions only allowing ssh on port 22 you should be able to set up a port forwarding system for at least samba, but it is definitely a non-trivial setup.

share|improve this answer
Windows 7 (at least some releases) already includes a NFS client as optional feature. I myself prefer Samba, it at least has authentication. – grawity Sep 6 '10 at 19:32

You must log in to answer this question.