【问题标题】:Mounting remote file-system or directory into local Linux machine将远程文件系统或目录挂载到本地 Linux 机器
【发布时间】:2017-08-31 06:37:09
【问题描述】:

如何将远程 linux 文件系统或目录挂载到本地 linux 机器上。假设有一个远程目录,我想访问它的所有内容,就像它在我的本地硬盘中一样。

【问题讨论】:

    标签: sshfs


    【解决方案1】:

    要将远程目录挂载到本地机器,首先要确保您对机器有 ssh 访问权限。然后尝试:

    sudo sshfs -o allow_other <remote user>@<remote ip>:<remote directory> <local directory>
    

    这是为 ubuntu 准备的。对于 fedora,将 sudo 替换为 yum 等等。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-06-09
      • 1970-01-01
      • 2022-08-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-01-29
      • 1970-01-01
      相关资源
      最近更新 更多