Skip to content

AndrianBdn/autossh-alpine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

autossh-alpine

Docker container based on Alpine Linux with OpenSSH and autossh.

I use it to do remote port forwarding from a container.

Usage (from Docker Compose):

version: '2'
services:
  autossh:
    restart: unless-stopped
    image: andrianbdn/autossh-alpine
    volumes:
      - ./keys:/root/keys
    command: autossh.sh -o "StrictHostKeyChecking=no" -R 10443:192.168.4.22:443 -R 1080:192.168.4.22:80 -i /root/keys/sshgate sshgate@172.217.20.174

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published