yosoyhendrix 5 часов назад
Родитель
Сommit
b25ef091cc
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      Otros/sshd_config

+ 5 - 1
Otros/sshd_config

@@ -14,7 +14,6 @@ RhostsRSAAuthentication no
 HostbasedAuthentication no
 PermitEmptyPasswords no
 ChallengeResponseAuthentication no
-PasswordAuthentication yes
 X11Forwarding yes
 X11DisplayOffset 10
 PrintMotd no
@@ -23,5 +22,10 @@ TCPKeepAlive yes
 #UseLogin no
 AcceptEnv LANG LC_*
 Subsystem sftp /usr/lib/openssh/sftp-server
+MaxAuthTries 3
 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