sudo apt-get install nfs-common -y
sudo apt-get install sshfs -y
sudo apt-get install nfs-kernel-server
挂载
sudo sshfs -o allow_other username@x.x.x.x:/home/src/ /mnt/target
卸载
fusemount –u /mnt/target如果出错了 传输端点未连接
参考:
https://www.soinside.com/question/ocJs4SppA6EwuzciBBQuyb
sudo umount -l /mnt/target