If you’re like most people, you use a remote folder to store files that you access from multiple computers. You might use a remote folder to store your work files, your photos, or your music collection. But how do you mount a remote folder so that you can access it using SSH? There are two ways to do this. The first way is to use the sshfs command. This command will create a filesystem on the remote server that can be accessed using SSH. The second way is to use the NFS client software on your computer and mount the remote folder using the NFS server. Which method is best for you depends on your needs and preferences. If you want to be able to access the files on the remote server from any computer that has an SSH client installed, then using sshfs is probably the best option for you. If you only want to be able to access the files on the remote server from computers that are running NFS client software, then using NFS is probably better for you. ..


There are quite a few steps that you’ll have to follow, so get ready and open a terminal window.

First we’ll install the module:

Now we will use the modprobe command to load it

We’ll need to set up some permissions in order to access the utilities. Replace with your username.

Since we’ve added ourselves to a user group, we need to logout and back in at this point before we continue.

sudo chown root:fuse /dev/fuse

sudo chmod +x /dev/fusermount

Now we’ll create a directory to mount the remote folder in. I chose to create it in my home directory and call it remoteserv.

Now we have the command to actually mount it. You’ll be prompted to save the server key and for your remote password.

Now you should be able to cd into the directory and start using it as if it was local.