in Programming

Edit files directly over SFTP in Eclipse (Remote System Explorer)

I typically edit PHP and Python using VI over SSH in multiple Putty windows.  Arranging the windows is a pain, you lose all of your open shells if your connection hiccups, none of the machines I connect to provide color terminals, and I’m often fight VI’s indenting (and am too lazy to fix it on every machine).

I’ve now switched over to editing files on the server using Eclipse and the Repose System Explorer add-on.  It solves all of the problems mentioned above.

  • From Eclipse: Help -> Install New Software. “Work with: -All available sites-“. In the search box type “remote system”. Check “Remote System Explorer End-User Runtime”, click Next to proceed with the install.
  • After the wizard completed, click Window -> Open Perspective -> Remote System Explorer.  Right-click in Remote Systems, choose New Connection, type in your details.  After you connect, expand “Sftp Files” and you’ll be able to open remote files in the editor.

Thanks Ikool’s Blogbed.

  • dio

    thanks, it works… 😀

  • Shoval

    Thanks, I was using that option in Notepad++ up until now, but this might just replace it.

  • Scot

    Have you tried mounting the remote path with sshfs first and then working like any local folder? See this article:

  • Pingback: Perl | M's Web Dev

  • Dolan Antenucci

    In Eclipse Kepler, RSE is installed via Help -> Eclipse Marketplace -> search for “remote”

  • Juan Manuel Doren

    thank you, you saved me a lot of time…

  • Jamin Liberum Cogitari

    Also, make sure you get the latest version for your current version of eclipse. I found it in the folder [Version-Name] – – Worked out nice to specify the specific site since the “all available sites” option was hanging for a long time. (check all folders/subfolders related to your version)

  • Paul

    Works perfectly in Mars too. I notice it even gives me sudo access without me needing to type a thing. Thanks for this Chris!

  • Ariel Balter

    Thanks! Here is a bonus question though: is there a way I could set up a tunnel? I need to connect to computer B. But to do so, I need to connect to computer A first. Is there a way I can use an ssh tunnel to edit files on computer B?

  • Daniel Williams offers SFTP/SCP as well as normal FTP through a web-based client that’s free to download. (disclaimer: I’m involved with this project)

  • Santhosh O M

    Is there any way we can search the remote system java file using ctrl+shift+R option

  • Karlos Ibarra


  • Le Foox

    Thanks Chris.