ojob ojob.io/docker/sshd user=user pass=abc123 key="ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQ7..." port=12345 ports="12345:12345, 12222:33333" bg=true allowRoot=true
Starts a docker based sshd server helpfull for tunneling network connections.
Name | Description |
---|---|
user | A user to create |
pass | A password to assigned to the created user. |
key | A SSH key to use for the created user. |
port | In which port the sshd will be exposed. |
ports | A list of ports to be exposed. |
bg | Boolean indicating if the sshd docker should be launched in background as a daemon |
allowRoot | Boolean indicating if it should be allowed to sudo to root (default is false) |