fix 3477
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15974 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
63b5ea43c9
commit
9c89936b69
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user