How to mount and unmount remote directory
Mounting
mkdir ~/remoteDir ssh-keygen -t rsa ssh-copy-id -i .ssh/id_rsa.pub user@hostname sudo apt install sshfs sshfs user@hostname:/ ~/remoteDir |
Unmounting
fusermount -u ~/remoteDir |
Mounting
mkdir ~/remoteDir ssh-keygen -t rsa ssh-copy-id -i .ssh/id_rsa.pub user@hostname sudo apt install sshfs sshfs user@hostname:/ ~/remoteDir |
Unmounting
fusermount -u ~/remoteDir |