Sign inSign up

t3nde/ssh-jump

By t3nde

•Updated about 6 years ago

Image
0

10K+

t3nde/ssh-jump repository overview

⁠ssh-jumphost

Re-work of warden/docker-jumphost which is an extended Docker image to run an SSH server.

Expected volumes:

  • publickeys:/keys

USAGE:

docker run --name ssh_server -d -e USER=`whoami` -v ~/.ssh/pubkeys:/keys geekinutah/ssh-jumphost

where:

  • USER - username allowed to log in
  • ~/.ssh/pubkeys/ - path containing desired public keys

The modificaitons made to warden/docker-jumphost are specifically to accomodate attaching a single user to an alternative network namespace. For example, let's say you are using ekristen/openvpn-client to isolate a VPN connection. You can then use this ssh server to provide a jumphost into that network namespace.

docker run --net container:openvpn -d -e USER=`whoami` -v ~/.ssh/pubkeys/:/keys geekinutah/ssh-jumphost

Tag summary

Content type

Image

Digest

Size

4.9 MB

Last updated

about 6 years ago

docker pull t3nde/ssh-jump