2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-02 16:28:25 +00:00

Workaround ssh pickiness

ssh from sles12 to rhel7 node during install causes SIGABORT
on the sles12 install pre-reboot.  Workaround by
sticking to the AES ciphers at that stage.
This commit is contained in:
Jarrod Johnson
2017-03-17 16:48:30 -04:00
parent 6d9f5b452a
commit 73c1ab6961

View File

@@ -494,7 +494,10 @@ fi
if [ "$?" != "0" ];then
PIDLIST=`ps aux | grep -v grep | grep "/usr/sbin/sshd"|awk -F" " '{print $2}'|xargs`
[ -n "$PIDLIST" ] && kill 9 $PIDLIST
/usr/sbin/sshd
# Temporarily stick to the aes ciphers, some compatibility issues with other ciphers
/usr/sbin/sshd -o Ciphers=$(ssh -Q cipher|grep aes|tr '\n' ',')
# Run without argument, in case above breaks
/usr/sbin/sshd
fi
kill -9 $CREDPID