sshd_config.d: maybe keyed root login is fine in special case of SteamOS on Steam Deck?

This commit is contained in:
Aminda Suomalainen 2023-09-27 18:02:50 +03:00
parent 71a8913d37
commit f20e23df42
Signed by: Mikaela
SSH Key Fingerprint: SHA256:y2OpGEbett3Fqn8XFrP0X4mWfCVKf4rWkxERzqPY81U
1 changed files with 5 additions and 1 deletions

View File

@ -8,8 +8,12 @@ HostKey /etc/ssh/ssh_host_ed25519_key
# Includes public keys in logins
LogLevel VERBOSE
# No direct root login, keys might be ok, but audit trail
# No direct root login, keys might be ok, but audit trail...
PermitRootLogin no
#...unless we happen to be on SteamOS on Steam Deck where we probably don't
# care about audit trail by user deck and where keyed SSH may be preferable
# over having a password?
#PermitRootLogin prohibit-password
# Passwords are bad
PasswordAuthentication no
AuthenticationMethods publickey