Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0584d79e9a |
@@ -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,6 +14,8 @@ 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`
|
||||||
|
|||||||
Reference in new issue
Block a user