Update Readme.md

This commit is contained in:
Kirigaya Kazuto 2021-03-03 16:23:14 +08:00 committed by GitHub
parent e506059858
commit 63e4a546a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,8 @@
This is the base image of ssh server, bundled with systemd. This is the base image of ssh server, bundled with systemd.
Derived images may want to regenerate OpenSSH host keys with `rm -v /etc/ssh/ssh_host_* && ssh-keygen -A`.
By default, `UsePAM` and `PasswordAuthentication` are both set to `no`. By default, `UsePAM` and `PasswordAuthentication` are both set to `no`.
The Dockerfile contains an alternative way to setup sshd, which could leave `UsePAM` set to `yes`. The Dockerfile contains an alternative way to setup sshd, which could leave `UsePAM` set to `yes`.