diff options
author | djm@openbsd.org <djm@openbsd.org> | 2015-04-27 21:42:48 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-04-29 18:20:12 +1000 |
commit | 88a7c598a94ff53f76df228eeaae238d2d467565 (patch) | |
tree | b2c795e82447894f9862097d991d5b522ca5dd09 /sshd_config | |
parent | 734226b4480a6c736096c729fcf6f391400599c7 (diff) |
upstream commit
Make sshd default to PermitRootLogin=no; ok deraadt@
rpe@
Diffstat (limited to 'sshd_config')
-rw-r--r-- | sshd_config | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sshd_config b/sshd_config index c9042ac3c..cf7d8e1e8 100644 --- a/sshd_config +++ b/sshd_config | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: sshd_config,v 1.94 2015/02/02 01:57:44 deraadt Exp $ | 1 | # $OpenBSD: sshd_config,v 1.95 2015/04/27 21:42:48 djm Exp $ |
2 | 2 | ||
3 | # This is the sshd server system-wide configuration file. See | 3 | # This is the sshd server system-wide configuration file. See |
4 | # sshd_config(5) for more information. | 4 | # sshd_config(5) for more information. |
@@ -41,7 +41,7 @@ | |||
41 | # Authentication: | 41 | # Authentication: |
42 | 42 | ||
43 | #LoginGraceTime 2m | 43 | #LoginGraceTime 2m |
44 | #PermitRootLogin yes | 44 | #PermitRootLogin no |
45 | #StrictModes yes | 45 | #StrictModes yes |
46 | #MaxAuthTries 6 | 46 | #MaxAuthTries 6 |
47 | #MaxSessions 10 | 47 | #MaxSessions 10 |