From 53fb0c8d3f9f8f9a0eb1feefa5b523cd3936fbc2 Mon Sep 17 00:00:00 2001 From: Tommy Date: Tue, 13 Feb 2024 16:05:52 -0700 Subject: [PATCH] Add /etc/issue.net banner Signed-off-by: Tommy --- etc/ssh/sshd_config.d/10-custom.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/ssh/sshd_config.d/10-custom.conf b/etc/ssh/sshd_config.d/10-custom.conf index a3c16f2..c2c399b 100644 --- a/etc/ssh/sshd_config.d/10-custom.conf +++ b/etc/ssh/sshd_config.d/10-custom.conf @@ -4,7 +4,8 @@ HostKeyAlgorithms ssh-ed25519 PubkeyAcceptedKeyTypes ssh-ed25519 Ciphers aes256-gcm@openssh.com MACs -* -PasswordAuthentication no +PasswordAuthentication no PermitRootLogin no KerberosAuthentication no GSSAPIAuthentication no +Banner /etc/issue.net \ No newline at end of file