Command-line tool
autossh
brew/autossh
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Automatically restart SSH sessions and tunnels proxy ssh tunnel autossh reconnect
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
winget install --id Kevin589981.autossh -e scoop install autossh
macOS
brew install autossh
Linux
brew install autossh
Start an SSH session, restarting when the [M]onitoring port fails to return data
autossh -M monitor_port "ssh_command"
Forward a [L]ocal port to a remote one, restarting when necessary
autossh -M monitor_port -L local_port:localhost:remote_port user@host
Fork `autossh` into the background before executing SSH and do [N]ot open a remote shell
autossh -f -M monitor_port -N "ssh_command"
Related command-line tools
- cntlm
NTLM authentication proxy with tunneling - overtls
Simple proxy tunnel for bypassing the GFW - proxytunnel
Create TCP tunnels through HTTPS proxies - corkscrew
Tunnel SSH through HTTP proxies python updater background openrct2 - tun2proxy
Tunnel (TUN) interface for SOCKS and HTTP proxies - boringproxy
Simple tunneling reverse proxy with a fast web UI and auto HTTPS - shadowsocks-libev
Libev port of shadowsocks - stunnel
SSL tunneling program proxy encryption tls openssl
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents