1.安装工具
sudo apt-get install sshfs
2.挂载:
sshfs username@serverip:path
例如:
现在用户目录下常见用于挂载的挂载点:
mkdir ~/remoteDir
挂载:
sshfs hello@172.30.1.144:/home ~/remoteDir
3.取消挂载
umount remoteDir
如果没有权限:
sudo umount remoteDir
1.安装工具
sudo apt-get install sshfs
2.挂载:
sshfs username@serverip:path
例如:
现在用户目录下常见用于挂载的挂载点:
mkdir ~/remoteDir
挂载:
sshfs hello@172.30.1.144:/home ~/remoteDir
3.取消挂载
umount remoteDir
如果没有权限:
sudo umount remoteDir