Install Sshfs On A Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian And MacOS

Install Sshfs On A Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian And MacOS

sshfs

Filesystem client based on ssh.

Maintainer: Bartosz Fenski



Section: utils

Install sshfs

  • Debian apt-get install sshfs Click to copy
  • Ubuntu apt-get install sshfs Click to copy
  • Alpine OS apk add sshfs Click to copy
  • Arch Linux pacman -S sshfs Click to copy
  • Kali Linux apt-get install sshfs Click to copy
  • Fedora dnf install sshfs Click to copy
  • Raspbian apt-get install sshfs Click to copy
  • macOS brew install sshfs Click to copy

Filesystem client based on ssh.

How to use sshfs?

Below are few example commands for sshfs that you can use in the terminal.

Mount remote directory:
sshfs [email protected]_host:remote_directory mountpointClick to copy
Unmount remote directory:
umount mountpointClick to copy
Mount remote directory from server with specific port:
sshfs [email protected]_host:remote_directory -p 2222Click to copy
Use compression:
sshfs [email protected]_host:remote_directory -CClick to copy
Follow symbolic links:
sshfs -o follow_symlinks [email protected]_host:remote_directory mountpointClick to copy
Installation of latest sshfs command is available for Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian and macOS. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.