From 8f2c09c99b12080fb59434aca4578750a235a2c7 Mon Sep 17 00:00:00 2001 From: lissav Date: Thu, 30 Apr 2009 14:54:59 +0000 Subject: [PATCH] comment out PasswordAuthentication no git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3277 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/aixremoteshell | 2 +- xCAT/postscripts/remoteshell | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT/postscripts/aixremoteshell b/xCAT/postscripts/aixremoteshell index 3a1b73bdf..64be9e873 100755 --- a/xCAT/postscripts/aixremoteshell +++ b/xCAT/postscripts/aixremoteshell @@ -97,7 +97,7 @@ sub setupSSH &runcmd("echo \"KeyRegenerationInterval 0\" >>$sshdconfig"); &runcmd("echo \"X11Forwarding yes\" >>$sshdconfig"); &runcmd("echo \"MaxStartups 1024\" >>$sshdconfig"); - &runcmd("echo \"PasswordAuthentication no\" >>$sshdconfig"); + #&runcmd("echo \"PasswordAuthentication no\" >>$sshdconfig"); if (!(-e "$sshconfig.ORIG")) { &runcmd("cp $sshconfig $sshconfig.ORIG"); diff --git a/xCAT/postscripts/remoteshell b/xCAT/postscripts/remoteshell index 3cac45b3d..afd566a89 100755 --- a/xCAT/postscripts/remoteshell +++ b/xCAT/postscripts/remoteshell @@ -13,7 +13,7 @@ then sed -i 's/^KeyRegenerationInterval .*$/KeyRegenerationInterval 0/' /etc/ssh/sshd_config sed -i 's/\(.*MaxStartups.*\)/#\1/' /etc/ssh/sshd_config echo "MaxStartups 1024" >>/etc/ssh/sshd_config - echo "PasswordAuthentication no" >>/etc/ssh/sshd_config + #echo "PasswordAuthentication no" >>/etc/ssh/sshd_config fi if [ -r /etc/ssh/sshd_config ]