I do this between linux systems - Ubuntu 16 specifically in this example, shouldnt vary much.
Target File System on bob@serverremote - no need to do anything on this system directly as long as it has ssh deamon
Target File System on bob@serverremote - no need to do anything on this system directly as long as it has ssh deamon
- On your local system where you want to mount stuff from target:
- Install sshfs package from your favorite distro - on ubuntu/debian do
- apt install sshfs
- if you havent already - create ssh id keys:
- ssh-keygen
- If you havent already, copy the ssh id to target machine, so that you can ssh without password:
- ssh-copy-id bob@serverremote
- Create a directory to mount in
- mkdir /home/esmaralda/mnt/serverremote
- Finally execute the mount command
- sshfs -o allow_other,IdentityFile=~/.ssh/id_rsa bob@serverremote:/ /home/esmaralda/mnt/serverremote
Comments
Post a Comment