How to Mount Remote Directory over SSH

Wouldn't it be nice if we can browse directory and files over SSH with graphical interface? 
Sometimes I had dreamed about this kind of feature. But today, I realized that, it's already done by SSHFS.

Let's try it...

First of all we should install sshfs by following command:

sudo apt-get install sshfs

Now, let's create a mount point directory:

mkdir ~/mnt_remote

Let's mount remote server folder to the point:

sshfs user1@192.168.1.5:/home/user1  ~/mnt_remote

If ssh server port other than 22, it can be specified as following:

sshfs user1@192.168.1.5:/home/user1 -p 1234 ~/mnt_remote

After authorization, we can browse remote files/folders and copy files as if locally. It's exciting! 

To unmount the point:

sudo umount ~/mnt_remote

Reference:

Share Share Editor: editor | Posted: 2015/01/25 | Views: 4331

Comments

7 + 7 =
Home | Search | Contact | Terms
Editor