Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Latest commit

 

History

History
13 lines (12 loc) · 505 Bytes

README.md

File metadata and controls

13 lines (12 loc) · 505 Bytes

docker-nginx-ssh

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