linux
2018-11-23

一、安装sshfs

yum install fuse-sshfs

二、sshfs挂载远程目录

sshfs -o nonempty root@192.168.100.2:/remote-path-to-mount /local-path

注:如果ssh端口不是22,那么可以这样:假设端口是1234

sshfs -p 1234 -o nonempty root@192.168.100.2:/remote-path-to-mount /local-path
文章链接:http://www.viper.im/archives/sshfs_mount.html
本文由viper.im 原创编译,转载请保留链接:sshfs挂载远程目录