sshfs

For an easy way to obtain temporary access to a directory in a remote location using the sshfs command just type in your terminal:

sshfs remote_user@ip_address:/path_to_dir path_to_local_dir

Make sure you have have already created the local directory to mount the remote directory, that you have the credentials of the remote user and all necessary permissions.

For example:

sshfs admin@192.168.1.130:/media/backup ~/nfs

Now in your local file manager you will have access to the remote directory for the current session. Performance may be reduced with this method in contrast with other alternatives like a network file system setup but for managing small files it’s just perfect if you prefer to have a single secure connection to a remote location without having to use to much the terminal.

NOTE: If you are a local non root user, you need to make sure to create the folder where you want to mount the remote disk somewhere in your home folder so you can have access to it either with CLI or a file explorer.

To disconnect:

fusermount -u /path/to/mount/point

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *