feat: update sshd_config

This commit is contained in:
kairee committed 2023-05-08 03:25:43 +00:00
1 parent a1c5652369
commit a0e54e8a04
1 file changed
-2
-2
View File
@@ -1,9 +1,7 @@
Port 46571 Port 46571
AddressFamily any AddressFamily any
Protocol 2 Protocol 2
HostKey /etc/ssh/ssh_host_ecdsa_key
HostKey /etc/ssh/ssh_host_ed25519_key HostKey /etc/ssh/ssh_host_ed25519_key
SyslogFacility AUTHPRIV
PermitRootLogin prohibit-password PermitRootLogin prohibit-password
AuthorizedKeysFile .ssh/authorized_keys AuthorizedKeysFile .ssh/authorized_keys
PasswordAuthentication no PasswordAuthentication no