使用ssh挂载远程网络硬盘

来源:互联网 发布:华彬网络商学院 编辑:程序博客网 时间:2024/06/07 05:41

1、首先安装sshfs

apt-get install -y sshfs

2、挂载远程网络硬盘

$  sshfs  alex@192.168.9.1:/home/alex   remote_dir/

3、卸载移除网盘

$  fusermount  -u  remote_dir/

1 0