tests/vm: use -o IdentitiesOnly=yes for ssh
commit339bf0c071eff5e6ff1d9ddb3ad5cd02e4cd9ca3
authorIlya Leoshkevich <iii@linux.ibm.com>
Thu, 27 Oct 2022 18:36:36 +0000 (27 19:36 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 31 Oct 2022 20:37:59 +0000 (31 20:37 +0000)
tree22daea482c7fb074c409a296f0618d165823ff96
parent68406d10859385c88da73d0106254a7f47e6652e
tests/vm: use -o IdentitiesOnly=yes for ssh

When one has a lot of keys in ~/.ssh directory, the ssh command will
try all of them before the one specified on the command line, and this
may cause the remote ssh server to reject the connection due to too
many failed authentication attempts.

Fix by adding -o IdentitiesOnly=yes, which makes the ssh client
consider only the keys specified on the command line.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20221027113026.2280863-1-iii@linux.ibm.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20221027183637.2772968-31-alex.bennee@linaro.org>
tests/vm/basevm.py