Compare commits

..
1 Commits
Author SHA1 Message Date
thomas 3442029733 Initial commit 2021-09-04 22:35:39 +02:00
+1 -3
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. 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. `SSH_USERS` contain a comma separates lists of username:UID:GUI that will be allowed to login.
@@ -14,8 +14,6 @@ Ex:
`SSH_USERS=myuser:1000:1000,anotheruser:1001:1001` `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. 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` - A file named `myuser` will be copied to `/home/myuser/.ssh/authorized_keys`