ssh mount folder code example
Example 1: sshfs
# sshfs with ssh key authorization
sudo sshfs -o allow_other,default_permissions,IdentityFile=~/.ssh/id_rsa [email protected]:/ /mnt/droplet
Example 2: sshfs
sshfs <username>@<server>:<server_dir> <local_dir>
sshfs [email protected]:/home/alice/Documents /home/my_computer/mnt/Documents