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:
@@ -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
|
||||
|
Reference in New Issue
Block a user