2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-20 10:10:22 +00:00

Remove deprecated SSH option KeyRegenerationInterval from remoteshell (#4599)

This commit is contained in:
Matt Ezell
2018-04-09 03:37:56 -04:00
committed by yangsong
parent 1aeaefeadf
commit 0560a81e41

View File

@@ -56,8 +56,6 @@ then
#delete all occurance of the attribute and then add xCAT settings
sed -i '/X11Forwarding /'d /etc/ssh/sshd_config
echo "X11Forwarding yes" >>/etc/ssh/sshd_config
sed -i '/KeyRegenerationInterval /'d /etc/ssh/sshd_config
echo "KeyRegenerationInterval 0" >>/etc/ssh/sshd_config
sed -i '/MaxStartups /'d /etc/ssh/sshd_config
echo "MaxStartups 1024" >>/etc/ssh/sshd_config