Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse on Ubuntu: How do I access projects remotely over mounted SFTP connections?

Ubuntu allows you to create and "bookmark" connections to other servers via either Public FTP or SSH. I want to work with projects on a remote server this way. However when I attempt to create a project, I cannot browse to the bookmarked connection; it does not show up in the explorer window.

Truth is, I know I've done this in the past, but I don't remember how I did it and can't find anything via Google that looks quite right. Was it a special Eclipse plugin, perhaps?

How do I get Eclipse to recognize and display those bookmarked connections in the explorer window?

like image 701
Brian Lacy Avatar asked Jan 27 '10 23:01

Brian Lacy


1 Answers

use sshfs to mount the remote directory containing the project:

$ mkdir -p ~/mnt/foo
$ sshfs remote_host:/path/to/dir ~/mnt/foo
$ cd ~/mnt/foo
$ ls

update:

Recent Gnome releases made the remote shares available via a FUSE file system (gvfs-fuse) under $HOME/.gvfs/.

like image 198
salva Avatar answered Sep 23 '22 11:09

salva