1. 安装

sudo apt-get install sshfs

2. 创建 SSHFS 挂载目录

sudo mkdir /mnt/cong

3.使用 SSHFS 挂载远程的文件系统

sudo sshfs -o allow_other,IdentityFile=~/.ssh/id_rsa cong@xxx.xxx.x.xxx:/share1/home/cong /mnt/cong

4. 卸载远程的文件系统

sudo umount /mnt/cong

 

相关文章:

  • 2021-09-21
  • 2021-06-25
  • 2022-12-23
  • 2021-07-14
  • 2022-12-23
  • 2021-07-29
  • 2021-06-04
  • 2022-12-23
猜你喜欢
  • 2021-11-08
  • 2021-10-11
  • 2022-12-23
  • 2021-06-17
  • 2021-05-30
相关资源
相似解决方案