From 9c89936b6939a59b8457bc2445e08fff1f5e9f68 Mon Sep 17 00:00:00 2001 From: lissav Date: Mon, 15 Apr 2013 12:30:15 +0000 Subject: [PATCH] fix 3477 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15974 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/remoteshell | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT/postscripts/remoteshell b/xCAT/postscripts/remoteshell index 87cdb3180..a0406907b 100755 --- a/xCAT/postscripts/remoteshell +++ b/xCAT/postscripts/remoteshell @@ -30,6 +30,7 @@ then sed -i 's/\(.*MaxStartups.*\)/#\1/' /etc/ssh/sshd_config echo "MaxStartups 1024" >>/etc/ssh/sshd_config if [ "$SETUPFORPCM" = "1" ];then + sed -i 's/\(.*PasswordAuthentication.*\)/#\1/' /etc/ssh/sshd_config echo "PasswordAuthentication yes" >>/etc/ssh/sshd_config fi fi