parent
35a118a5e8
commit
a7c643bb7a
|
@ -0,0 +1,3 @@
|
||||||
|
sshd_config should include something like
|
||||||
|
|
||||||
|
Include /etc/ssh/sshd_config.d/*.conf
|
|
@ -0,0 +1,13 @@
|
||||||
|
# RSA and Ed25519 are fine, but DSA is broken and ecdsa is suspicious
|
||||||
|
HostKey /etc/ssh/ssh_host_rsa_key
|
||||||
|
HostKey /etc/ssh/ssh_host_ed25519_key
|
||||||
|
|
||||||
|
# Includes public keys in logins
|
||||||
|
LogLevel VERBOSE
|
||||||
|
|
||||||
|
# root login should probably be denied entirely, but key is better than
|
||||||
|
# password
|
||||||
|
PermitRootLogin prohibit-password
|
||||||
|
|
||||||
|
# Passwords are bad
|
||||||
|
PasswordAuthentication no
|
Loading…
Reference in New Issue