sshfs挂载

  1. 先下载这个https://github.com/libfuse/libfuse或者yum install fuse-libs

    下载地址:https://github.com/libfuse/libfuse/releases/download/fuse-2.9.7/fuse-2.9.7.tar.gz
    
./configure
make -j8
make install
  1. 先下载这个https://github.com/osxfuse/sshfs

    下载地址:https://github.com/osxfuse/sshfs/archive/osxfuse-sshfs-2.5.0.tar.gz
    
./configure
make
make install (as root)

3.继续

ldd `which sshfs`

4.挂载



sshfs sessy@mycomputer:/remote/path /local/path -C -p 9876 -o allow_other

wiki:https://wiki.archlinux.org/index.php/SSHFS

添加新评论