Daily Ubuntu / Linux news and application reviews.

ads

If you have access to a remote computer through SSH, but you're not very comfortable with the command line or for any other reason, you can mount a folder or the whole filesystem through SSH. This can be done in 2 ways:

1. Using SSHFS

sshfs

You must firstly install sshfs. In Ubuntu, simply run this:
sudo apt-get install sshfs


Then, to mount a remote folder:
sshfs name@server:/path/to/folder /path/to/mount/point

To mount the whole remote filesystem:
sshfs name@server /path/to/mount/point


This method has an advantage over the next one: you can see the used / free space on the remote computer.

To unmount it, if you use Nautilus, simply click the unmount icon (see the screenshot). To unmount it from the command line:
fusermount -u /path/to/mount/point


2. Directly using SSH in Nautilus (Gnome)

ssh nautilus

If you use Gnome (w/ Nautilus), you can directly type:
ssh://name@server/path
or
ssh://name@server


In the location bar to mount it.
«
Next
Newer Post
»
Previous
Older Post