强哥's Blog

Happy coding

sshfs mount、unmount

如果本地用户名和要mount的主机的用户名是相同的,则直接使用sshfs hostname: mountPoint,否则sshfs username@hostname: mountPoint,挂载用户主目录

如果想挂载其他目录:sshfs username@hostname:/path mountpoint

unmount :  fusermount -u mountPoint.