feat: update sshd_config
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user