Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/binwiederhier/sf
Wrapper script around sshfs to make mounting/unmounting easier
https://github.com/binwiederhier/sf
Last synced: 24 days ago
JSON representation
Wrapper script around sshfs to make mounting/unmounting easier
- Host: GitHub
- URL: https://github.com/binwiederhier/sf
- Owner: binwiederhier
- License: gpl-3.0
- Created: 2015-11-28T19:57:30.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-28T20:05:45.000Z (almost 9 years ago)
- Last Synced: 2024-10-05T06:30:05.718Z (about 1 month ago)
- Language: Shell
- Homepage:
- Size: 16.6 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/binwiederhier/sf/releases)
2. Or: Add my [Debian/APT archive](http://archive.philippheckel.com/apt/):```bash
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.