Compare commits

..
1 Commits
Author SHA1 Message Date
thomas 0584d79e9a Initial commit 2021-09-04 22:37:12 +02:00
+3 -1
View File
@@ -6,7 +6,7 @@ Since this is the only TCP service I expose, traefik handles this automagically
The image is a modified version of https://github.com/Hermsi1337/docker-sshd which has been made to work with yubikey OTP certification and allow for personalized `.ssh/config` files to be loaded.
## ENV variable `SSH_USERS`
### ENV variable `SSH_USERS`
`SSH_USERS` contain a comma separates lists of username:UID:GUI that will be allowed to login.
@@ -14,6 +14,8 @@ Ex:
`SSH_USERS=myuser:1000:1000,anotheruser:1001:1001`
### Key files
The directory mapped to `/conf.d/authorized_keys` contain files for authorized_keys, authorized yubikeys and ssh config.
- A file named `myuser` will be copied to `/home/myuser/.ssh/authorized_keys`