Instructions for installing fuse based sshfs (ssh file system) on Debian based distros.
SSHFS
Install sshfs:
sudo apt-get install fuse-utils sshfs
Add user to fuse group:
sudo adduser your_user_name fuse
mkdir remote_dir
Mount the remote directory:
sshfs ftp_user_name@ftp_host: remote_dir/
ls remote_dir
SSH Keys
Connect without a password using public key authentication.
mkdir remote_dir/.ssh
chmod 700 remote_dir/.ssh
cat ~/.ssh/id_rsa.pub > remote_dir/.ssh/authorized_keys
chmod 600 remote_dir/.ssh/authorized_keys
Disconnect and reconnect
fusermount -u remote_dir
Keep Alive
Add/amend ~/.ssh/config or /etc/ssh/ssh_config
ServerAliveInterval 60