1 安装
# yum install sshfs
# dnf install sshfs [On Fedora + releases]
$ sudo apt-get install sshfs [On Debian/Ubuntu based systems]
2 创建挂载目录
mkdir /
3 挂载
sshfs [email protected]:/root/ /
4 卸载
fusermount -u mountdir
fusermount -zu mountpoint
1 安装
# yum install sshfs
# dnf install sshfs [On Fedora + releases]
$ sudo apt-get install sshfs [On Debian/Ubuntu based systems]
2 创建挂载目录
mkdir /
3 挂载
sshfs [email protected]:/root/ /
4 卸载
fusermount -u mountdir
fusermount -zu mountpoint