Coin: Prefer publickey in QNX emulator ssh
When starting QNX emulator this makes VM to try to publickey first. This avoids VM from trying to use gssapi-with-mic authentication, which in some cases hangs indefinitely causing a timeout. Pick-to: 6.7 6.5 Change-Id: I499c668a910851d97ce8de803a1064dcd7b0b74d Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io> (cherry picked from commit 97637f909482a0b8472f99c6ecdc873029843cb1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
d6a10893cd
commit
30e0091774
@ -32,7 +32,7 @@ instructions:
|
||||
|
||||
while :; do
|
||||
echo "Waiting QEMU SSH coming up"
|
||||
status=$(ssh -o BatchMode=yes -o ConnectTimeout=1 ${QEMUIPADDR} echo ok 2>&1)
|
||||
status=$(ssh -o PreferredAuthentications=publickey -o BatchMode=yes -o ConnectTimeout=1 ${QEMUIPADDR} echo ok 2>&1)
|
||||
RESULT=$?
|
||||
if [ $RESULT -eq 0 ]; then
|
||||
echo "QEMU SSH Connected ok"
|
||||
|
Loading…
x
Reference in New Issue
Block a user