使用 sshfs 映射远程 ssh 文件系统到本地

首先安装sshfs

#apt-get install sshfs

#mkdir ~/frank

mount远程文件夹

#sshfs -o idmap=user [email protected]:/home/frank ~/frank

unmount远程文件夹

#fusermount - u ~/frank


reference:http://wiki.ubuntu.org.cn/index.php?title=UbuntuHelp:SSHFS&variant=zh-cn

你可能感兴趣的:(使用 sshfs 映射远程 ssh 文件系统到本地)