Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Passage

Provides SSH passage to Docker container based on the ssh username.

Roadmap

  • Plugins for 2 factor authentication

Setup

Create a private key in the same directory as the passage executable:

ssh-keygen -t rsa

Note: Ensure you do not overwrite your existing ssh keys.

Usage

Run this proxy on port 22:

passage

Run on proxy on port 2200:

passage -listen=2200

Here are the remaining arguments:

Arguments Default Description
listen 22 Listen for ssh connections on the this port
endpoint unix:///var/run/docker.sock The Docker API endpoint eg. tcp://localhost:2375
host 172.17.42.1 The IP or DNS of the host exposing ports
ports 22 The ports you wish to connect to via ssh
private ./id_rsa The private key used by the server to handle connections to this server
authorized ./authorized_keys A file containing all the authorized keys
upstreamUser root The user to connect to inside the Docker container
variable SSH_IDENTIFIER The Docker environment variable used to identify the correct container
Docker Pull Command
Owner
nickschuch
Source Repository

Comments (0)