| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
$ sshocker -p 8080:80 -v .:/mnt/sshfs user@example.comThis is akin to docker run -p 8080:80 -v $(pwd):/mnt IMAGE, but sshocker is for remote hosts, not for containers.
Download from https://github.com/lima-vm/sshocker/releases .
To download using curl:
curl -o sshocker --fail -L https://github.com/lima-vm/sshocker/releases/latest/download/sshocker-$(uname -s)-$(uname -m) chmod +x sshocker
To compile from source:
make
sudo make installTested on macOS client and Linux server. May not work on other environments, especially on Windows.
To use reverse sshfs, sshfs needs to be installed on the server (not on the client):
$ ssh user@example.com -- sudo apt-get install -y sshfsGlobal flags:
sshocker's equivalent of docker run.
e.g.
$ sshocker run -p 8080:80 -v .:/mnt/sshfs user@example.comrun can be omitted, e.g.
$ sshocker -p 8080:80 -v .:/mnt/sshfs user@example.comFlags (similar to docker run flags):
SSH flags:
SSHFS flags:
SFTP server flags:
Shows help
| Back | FazBrowse Home | New Git URL |