|
@@ -14,7 +14,6 @@ RhostsRSAAuthentication no
|
|
|
HostbasedAuthentication no
|
|
HostbasedAuthentication no
|
|
|
PermitEmptyPasswords no
|
|
PermitEmptyPasswords no
|
|
|
ChallengeResponseAuthentication no
|
|
ChallengeResponseAuthentication no
|
|
|
-PasswordAuthentication yes
|
|
|
|
|
X11Forwarding yes
|
|
X11Forwarding yes
|
|
|
X11DisplayOffset 10
|
|
X11DisplayOffset 10
|
|
|
PrintMotd no
|
|
PrintMotd no
|
|
@@ -23,5 +22,10 @@ TCPKeepAlive yes
|
|
|
#UseLogin no
|
|
#UseLogin no
|
|
|
AcceptEnv LANG LC_*
|
|
AcceptEnv LANG LC_*
|
|
|
Subsystem sftp /usr/lib/openssh/sftp-server
|
|
Subsystem sftp /usr/lib/openssh/sftp-server
|
|
|
|
|
+MaxAuthTries 3
|
|
|
UsePAM yes
|
|
UsePAM yes
|
|
|
|
|
+DenyUsers lxd, systemd-coredump
|
|
|
|
|
+#KexAlgorithms curve25519-sha256@libssh.org
|
|
|
|
|
+kexalgorithms curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1
|
|
|
|
|
+Banner /root/hendrix.txt
|
|
|
|
|
|