$ sudo apt-get install sshfs
JohnRain@server1:~$ sshfs -o gid=1012,uid=1012 JohnRain@server2:/home/JohnRain/mycode /home/JohnRain/S2code/
fusermount -u /home/JohnRain/S2code/
/etc/passwd
文件中查到以上就是Ubuntu上多台服务器相互挂载文件夹的详细内容,更多关于Ubuntu上多台服务器相互挂载文件夹的资料请关注九品源码其它相关文章!