docker run -it -p 80:80 -p 22:22 \
-e SSH_HOST_RSA_KEY="SSH_HOST_RSA_KEY_CONTENS" \
-e SSH_HOST_RSA_PUBLIC_KEY="SSH_HOST_RSA_PUBLIC_KEY_CONTENS" \
-e SSH_HOST_ECDSA_KEY="ECDSA_KEY_CONTENTS" \
-e SSH_HOST_ECDSA_PUBLIC_KEY="SSH_HOST_ECDSA_PUBLIC_KEY_CONTENTS" \
-e SSH_HOST_ED25519_KEY="SSH_HOST_ED25519_KEY_CONTENTS" \
-e SSH_HOST_ED25519_PUBLIC_KEY="SSH_HOST_ED25519_PUBLIC_KEY_CONTENTS" \
-e SSH_AUTHORIZED_KEY="Users authorized keys" \
teran/docker-nginx-ssh
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.