Compare commits

..

No commits in common. "0584d79e9a126423909c47127e42d845d2fb8161" and "34420297331d6f709d8af598f0a6b2ef84fdc6fd" have entirely different histories.

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`