Link files to server
17 Dec 2018Install sshfs. if you use ubuntu/debian:
sudo apt-get install sshfs
or, if you use centos/rhel:
sudo yum install fuse-sshfs
Create an empty dir
mkdir remotedir
“link” or “mount” the two directories
sshfs xiaoyu@172.21.32.185:/home/xiaoyu/data /Users/xiaoyu/remotedir
“unlink” the dirs
fusermount -u /home/user/testdir