Created
April 4, 2013 21:03
-
-
Save obfusk/5314326 to your computer and use it in GitHub Desktop.
secure ssh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- /etc/ssh/sshd_config.original 2013-04-04 22:52:18.684167049 +0200 | |
| +++ /etc/ssh/sshd_config 2013-04-04 22:52:55.284348534 +0200 | |
| @@ -24,7 +24,8 @@ | |
| # Authentication: | |
| LoginGraceTime 120 | |
| -PermitRootLogin yes | |
| +# PermitRootLogin yes | |
| +PermitRootLogin no | |
| StrictModes yes | |
| RSAAuthentication yes | |
| @@ -49,6 +50,7 @@ | |
| # Change to no to disable tunnelled clear text passwords | |
| #PasswordAuthentication yes | |
| +PasswordAuthentication no | |
| # Kerberos options | |
| #KerberosAuthentication no |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment