Skip to content

Instantly share code, notes, and snippets.

@lyo
Created October 9, 2010 07:10
Show Gist options
  • Save lyo/617979 to your computer and use it in GitHub Desktop.
Save lyo/617979 to your computer and use it in GitHub Desktop.
sshd_condig変更
--- /etc/ssh/sshd_config.old 2010-10-09 16:03:06.146720701 +0900
+++ /etc/ssh/sshd_config 2010-10-09 16:09:31.423106107 +0900
@@ -42,7 +42,7 @@
# Authentication:
#LoginGraceTime 2m
-#PermitRootLogin no
+PermitRootLogin no
#StrictModes yes
#MaxAuthTries 6
#MaxSessions 10
@@ -62,11 +62,11 @@
#IgnoreRhosts yes
# Change to yes to enable built-in password authentication.
-#PasswordAuthentication no
+PasswordAuthentication no
#PermitEmptyPasswords no
# Change to no to disable PAM authentication
-#ChallengeResponseAuthentication yes
+ChallengeResponseAuthentication no
# Kerberos options
#KerberosAuthentication no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment