Skip to content
Wrapper script around sshfs to make mounting/unmounting easier
Shell Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


sf is a wrapper script around sshfs to make mounting/unmounting easier. It probably doesn't deserve its own package, but I use it on so many machines that it might just be worth it.


# Mount the host 'kartoffel' locally
$ sf mount root@kartoffel:22
SSHFS version 2.5
Server version: 3
Extension: <1>
Extension: <2>
Extension: <2>
Extension: <1>

# Now it's available locally
$ ls ~/Mounts/kartoffel_root_22/
bin  boot  dev  etc  home   initrd.img  initrd.img.old  lib  lib64  lost+found  ...

# Unmount it again
$ sf umount root@kartoffel:22


Debian-based systems:

  1. Either download a .deb-file from the release page
  2. Or: Add my Debian/APT archive:
wget -qO - | sudo apt-key add -
sudo sh -c "echo deb release main > /etc/apt/sources.list.d/"
sudo apt-get update
sudo apt-get install sf

Other Linux systems:
Put the sf script in a folder inside your $PATH and install sshfs.


The script is licensed as GPLv3.

You can’t perform that action at this time.