Using Eclipse for editing remote files with ssh/sftp.

It took me a while to figure out how to work with remote files on server using Eclipse. It seems most of Eclipse users are developing locally and upload already tested code to the server (maybe i’am wrong). But for me it is important to work directly with remote files.
While on linux you can open and edit any file on the server using fish:// (or something like this), on windows there is no such option… On windows there is an option to install some software like sftpDrive, but it costs some 40$…

So I first tried to use winscp and configure Eclipse as an editor, but it didn’t worked because every time i clicked a file it was opening another copy of Eclipse despite any configurations i tried.

Then i played with several Eclipse plugins like Eclipse SSH Console, SFTP Plug-in for Eclipse, and aptana’s “Syncronize feature”, but no of them gave me the result i expected. None of the plugins give the ability to browse/edit/save remote file.

And FINALLY i found Remote System Explorer that solves everything. You download the plugin an intall it, and then you get a small button “Remote Systems” at the bottom of your eclipse that allow you to connect to you servers directly from eclipse. Great success!!

2 Comments »

RSS feed for comments on this post. TrackBack URI

  1. I spent 5 days trying to figure out why I always get “java.net.SocketException: Connection reset by peer: connect”. I didn’t manage to figure it out but if you use the URL that you provided above then it installs a 2.0 version which works PERFECTLY! Thanks!

    So remember to use
    http://download.eclipse.org/dsdp/tm/updates/2.0/
    and NOT
    http://download.eclipse.org/dsdp/tm/

    Comment by Norbert Mocsnik — December 26, 2008 #

  2. THANK YOU! I’ve been searching the web for this for weeks now…

    Best regards,

    Lars

    Comment by Lars — May 25, 2009 #

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security text shown in the picture. Click here to regenerate some new text.
Click to hear an audio file of the anti-spam word