Skip to content
/ sf Public
forked from binwiederhier/sf

Wrapper script around sshfs to make mounting/unmounting easier

License

Notifications You must be signed in to change notification settings

ptitgnu/sf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sf

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.

Usage

# Mount the host 'kartoffel' locally
$ sf mount root@kartoffel:22
SSHFS version 2.5
Server version: 3
Extension: [email protected] <1>
Extension: [email protected] <2>
Extension: [email protected] <2>
Extension: [email protected] <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

Installation

Debian-based systems:

  1. Either download a .deb-file from the release page
  2. Or: Add my Debian/APT archive:
wget -qO - http://archive.philippheckel.com/apt/Release.key | sudo apt-key add -
sudo sh -c "echo deb http://archive.philippheckel.com/apt/release/ release main > /etc/apt/sources.list.d/archive.philippheckel.com.list"
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.

License

The script is licensed as GPLv3.

About

Wrapper script around sshfs to make mounting/unmounting easier

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 75.7%
  • Makefile 24.3%