Sign inSign up

keto/ssh

By keto

•Updated over 5 years ago

Image
2

3.5K

keto/ssh repository overview

⁠SSH

Dockerfile for SSH.

⁠Base Docker Image

⁠Environment variables

SSH_GID
SSH_PASSWORD
SSH_PATH
SSH_UID
SSH_UMASK
SSH_USERNAME

⁠Usage

docker run -d keto/ssh

To run the container, binding to port 2222 on the host: # docker run --name ssh -d -p 2222:22 keto/ssh

Obtain the password via docker logs: # Docker logs ssh | grep 'SSH User password' # SSH User password: jvwxSwu9fcwaUGtkXRD1okSD56M

You can set a specific password using the SSH_PASSWORD environment variable:

# docker run -p 2222:22 -e SSH_PASSWORD=mypassword keto/ssh

Tag summary

Content type

Image

Digest

Size

80.5 MB

Last updated

over 5 years ago

docker pull keto/ssh