Files
debian/etc/ssh/sshd_config
kairee 6ac701886a feat: update sshd_config
- AddressFamily from inet to any
- Allow root login with authorized keys
2021-09-30 07:57:41 +00:00

25 lines
583 B
Plaintext

Port 46571
AddressFamily any
Protocol 2
HostKey /etc/ssh/ssh_host_ecdsa_key
HostKey /etc/ssh/ssh_host_ed25519_key
SyslogFacility AUTHPRIV
PermitRootLogin prohibit-password
AuthorizedKeysFile .ssh/authorized_keys
PasswordAuthentication no
ChallengeResponseAuthentication no
GSSAPIAuthentication no
GSSAPICleanupCredentials no
GSSAPIStrictAcceptorCheck no
GSSAPIKeyExchange no
UsePAM yes
X11Forwarding yes
TCPKeepAlive yes
ClientAliveInterval 60
UseDNS no
PrintMotd no
AcceptEnv LANG LC_*
Subsystem sftp /usr/lib/openssh/sftp-server
Match User kairee
PasswordAuthentication yes