From c0c9b16cf3e8971248ed71e39a1b38c3e17758d8 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Wed, 9 Jan 2019 01:16:02 -0700 Subject: [PATCH] updated sshd_config for better default operation before securing system --- config/etc/ssh/sshd_config | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config/etc/ssh/sshd_config b/config/etc/ssh/sshd_config index 20d53c3..399da04 100644 --- a/config/etc/ssh/sshd_config +++ b/config/etc/ssh/sshd_config @@ -4,16 +4,16 @@ ### Connection settings Port 222 -ListenAddress your.private.ipv4.address -ListenAddress [your:private:ipv6:address:use:square:brackets] +#ListenAddress your.private.ipv4.address +#ListenAddress [your:private:ipv6:address:use:square:brackets] TCPKeepAlive no ClientAliveInterval 60 ClientAliveCountMax 30 Protocol 2 ### Authentication settings -HostKey /etc/ssh/ed25519.key -HostKey /etc/ssh/RSA4096.key +#HostKey /etc/ssh/ed25519.key +#HostKey /etc/ssh/RSA4096.key #PasswordAuthentication no PasswordAuthentication yes PermitEmptyPasswords no @@ -29,7 +29,7 @@ MaxSessions 5 PermitRootLogin yes ### Program settings -Banner /etc/ssh/banner +#Banner /etc/ssh/banner LogLevel VERBOSE X11Forwarding yes PrintMotd no