BHK Code Vault

Using SSHfs

SSHfs is a very useful tool in setting up remote folders through SSH. A couple of examples:

sshfs -o allow_other $SSH_USER@$IP:/ /home/$HOME_USER/$FOLDER

sshfs -o reconnect,ServerAliveInterval=15,allow_other $SSH_USER@$IP:/ /mnt/$FOLDER

Most times the remote site will need to allow other setting ot be set. It can be set at:

fusermount: failed to open /etc/fuse.conf: Permission denied
fusermount: option allow_other only allowed if 'user_allow_other' is set in /etc/fuse.conf
#linux, #ssh