Sign inSign up

maktouch/ssh-tunnel

By maktouch

•Updated over 3 years ago

Easily create an ssh tunnel by mounting a private key.

Image
0

508

maktouch/ssh-tunnel repository overview

⁠Easy tunnelling in Docker

This container is useful if you want to provide easy tunneling to some servers.

⁠Usage

tunnel:
  image: maktouch/ssh-tunnel:1.0.0
  ports:
    - 3306:3306
    - 5432:5432
  command: |
    -L 3306:<mysql-host>:3306 
    -L 5432:<postgres-host>:5432 
    <bastion-user>@<bastion-host>
  volumes:
    - <my-private-key>:/sshtunnel_rsa

⁠Source

https://github.com/maktouch/docker-ssh-tunnel⁠

Tag summary

Content type

Image

Digest

sha256:7d6b0071a…

Size

7 MB

Last updated

over 3 years ago

docker pull maktouch/ssh-tunnel