linux之sshfs
0. ubuntu安装:sudo apt-get install sshfs -y
0. redhat安装sshs
yum install -y fuse-sshfs
如果找不到这个软件,需要重装epel-release
yum remove -y epel-release
yum install -y epel-release
1.挂载
sshfs shiyu@g22:/mfs/shiyu/ ~/mfs # sshfs -o allow_other来允许他人访问
2.卸载
fusermount -u ~/mfs
For macos: umount /mfs
黄世宇/Shiyu Huang's Personal Page:https://huangshiyu13.github.io/