diff options
author | Chen Gong <gong.chen@linux.intel.com> | 2011-04-01 16:38:34 +0800 |
---|---|---|
committer | Andi Kleen <ak@linux.intel.com> | 2011-04-20 09:35:55 -0700 |
commit | 99eaa1b2c5d14d9dbd4af38ab9cbc9e10dd4a4cb (patch) | |
tree | 397f55c4d19ad0e0e74bbbdf50a1f065278da48d | |
parent | b09d948160f571437d0df9a44a9f5fbed6118a10 (diff) | |
download | mce-test-99eaa1b2c5d14d9dbd4af38ab9cbc9e10dd4a4cb.tar.gz |
no strict check when ssh/scp in the kvm SRAO test
when first connecting to guest OS, guest OS will transfer
its public key fingerprint to the host OS. To avoid interactive
operation in the test procedure, no strict check is necessary.
Signed-off-by: Chen Gong <gong.chen@linux.intel.com>
-rwxr-xr-x | kvm/host/host_run.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kvm/host/host_run.sh b/kvm/host/host_run.sh index 51c9bda..83cb309 100755 --- a/kvm/host/host_run.sh +++ b/kvm/host/host_run.sh @@ -272,7 +272,7 @@ check_guest_alive() for i in 1 2 3 4 5 6 7 8 9 do sleep 10 - ssh -i $host_key_priv localhost -p 5555 echo "" > /dev/null 2>&1 + ssh -i $host_key_priv -o StrictHostKeyChecking=no localhost -p 5555 echo "" > /dev/null 2>&1 if [ $? -eq 0 ]; then return 0 else @@ -285,7 +285,8 @@ check_guest_alive() addr_translate() { #Get Guest physical address - scp -i $host_key_priv -P 5555 localhost:$guest_tmp $guest_tmp > /dev/null 2>&1 + scp -o StrictHostKeyChecking=no -i $host_key_priv -P 5555 \ + localhost:$guest_tmp $guest_tmp > /dev/null 2>&1 if [ $? -ne 0 ]; then echo "Failed to get Guest physical address, quit testing!" kill -9 $QEMU_PID |