Sign inSign up

chiptune/autossh.reverse

By chiptune

•Updated about 6 years ago

Autossh to remote host. Can be used on Raspberry Pi 3/4+.

Image
0

10K+

chiptune/autossh.reverse repository overview

⁠Reverse SSH Tunnel

This container runs Alpine Linux with autossh to remote host. Can be used on Raspberry Pi 3/4+.

⁠Usage

docker run \
--name autossh.reverse \
-v $HOME/.ssh/id_rsa:/root/id_rsa \
-e REMOTE_HOST=remote.host.with.white.ip.com \
-e REMOTE_PORT=50000 \
-e REMOTE_USER=reverseUser \
-e LOCAL_HOST=192.168.1.2 \
-e LOCAL_PORT=22 \
chiptune/autossh.reverse:latest
  • $HOME/.ssh/id_rsa - path to SSH key to access remote host
  • REMOTE_HOST - IP/domain name of remote host with public IP
  • REMOTE_PORT - port of remote host supposed to be forwarded to local host under NAT
  • REMOTE_USER - username on remote host associated with SSH key
  • LOCAL_HOST - host in local network supposed to get redirected traffic
  • LOCAL_PORT - port on local machine for traffic redirection

Tag summary

Content type

Image

Digest

Size

3.8 MB

Last updated

about 6 years ago

docker pull chiptune/autossh.reverse