Skip to content

Sshfs

1. Install

sudo apt-get install sshfs

rootless install

mkdir ~/sshfs_install
dpkg-deb -x <your-package.deb> ~/sshfs_install
ls ~/sshfs_install

mkdir -p ~/.local/bin
cp ~/sshfs_install/usr/bin/sshfs ~/.local/bin/

echo 'export PATH=$HOME/.local/bin:$PATH' >> ~/.bashrc
source ~/.bashrc

sshfs --version

2. 挂载

sshfs user@host:/dirpath ~/localdir