使用ssh挂载远程网络硬盘

1、首先安装sshfs

apt-get install -y sshfs

2、挂载远程网络硬盘

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

3、卸载移除网盘

$  fusermount  -u  remote_dir/

你可能感兴趣的:(使用ssh挂载远程网络硬盘)