Try the Remote System Explorer (RSE). It’s a set of plug-ins to do exactly what you want.
RSE may already be included in your current Eclipse installation. To check in Eclipse Indigo go to Window > Open Perspective > Other… and choose Remote System Explorer from the Open Perspective dialog to open the RSE perspective.
To create an SSH remote project from the RSE perspective in Eclipse:
- Define a new connection and choose SSH Only from the Select Remote System Type screen in the New Connection dialog.
- Enter the connection information then choose Finish.
- Connect to the new host. (Assumes SSH keys are already setup.)
- Once connected, drill down into the host’s Sftp Files, choose a folder and select Create Remote Project from the item’s context menu. (Wait as the remote project is created.)
If done correctly, there should now be a new remote project accessible from the Project Explorer and other perspectives within eclipse. With the SSH connection set-up correctly passwords can be made an optional part of the normal SSH authentication process. A remote project with Eclipse via SSH is now created.