1 --- openssh-6.1p1/sshd_config.orig 2012-07-31 02:21:34.000000000 +0000
2 +++ openssh-6.1p1/sshd_config 2013-02-26 15:16:29.775204829 +0000
3 @@ -37,7 +37,7 @@
4 # Authentication:
5
6 #LoginGraceTime 2m
7 -#PermitRootLogin yes
8 +PermitRootLogin no
9 #StrictModes yes
10 #MaxAuthTries 6
11 #MaxSessions 10
12 @@ -95,8 +95,8 @@
13 #X11Forwarding no
14 #X11DisplayOffset 10
15 #X11UseLocalhost yes
16 #PermitTTY yes
17 -#PrintMotd yes
18 +PrintMotd no
19 #PrintLastLog yes
20 #TCPKeepAlive yes
21 #UseLogin no
|
1 diff -ru openssh-7.1p1.orig/sshd_config openssh-7.1p1/sshd_config
2 --- openssh-7.1p1.orig/sshd_config Fri Aug 21 00:49:03 2015
3 +++ openssh-7.1p1/sshd_config Wed Sep 2 08:52:58 2015
4 @@ -41,7 +41,7 @@
5 # Authentication:
6
7 #LoginGraceTime 2m
8 -#PermitRootLogin prohibit-password
9 +PermitRootLogin no
10 #StrictModes yes
11 #MaxAuthTries 6
12 #MaxSessions 10
13 @@ -103,7 +103,7 @@
14 #X11DisplayOffset 10
15 #X11UseLocalhost yes
16 #PermitTTY yes
17 -#PrintMotd yes
18 +PrintMotd no
19 #PrintLastLog yes
20 #TCPKeepAlive yes
21 #UseLogin no
|