Wednesday, April 5, 2017

SSH File System (Mount a remote folder using ssh)

To mount the remote directory /tmp/remote_test to the local /tmp/local_test

$ sshfs servidorssh:/tmp/remote_test /tmp/local_test/

Now you can use you favorite graphical file manager such as dolphin to transfer files, or you can even edit a remote file as it was a local file
for example

$ dolphin /tmp/local_test

$ kwrite /tmp/local_test/remotefile

To unmount
$ fusermount -u /tmp/local_test

No comments:

Blog Archive