Skip to content

Commit b6bebb5

Browse files
committed
tests: add -o PubkeyAcceptedAlgorithms=+ssh-rsa to ssh
Could not find the change about this, but the workaround works. Signed-off-by: Huijing Hei <hhei@redhat.com>
1 parent b48299c commit b6bebb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/xtask/src/tmt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ fn verify_ssh_connectivity(sh: &Shell, port: u16, key_path: &Utf8Path) -> Result
209209
// Use IdentitiesOnly=yes to prevent ssh-agent from offering other keys
210210
let result = cmd!(
211211
sh,
212-
"ssh -i {key_path} -p {port_str} -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=5 -o IdentitiesOnly=yes root@localhost 'export TEST=value; whoami'"
212+
"ssh -i {key_path} -p {port_str} -o PubkeyAcceptedAlgorithms=+ssh-rsa -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=5 -o IdentitiesOnly=yes root@localhost 'export TEST=value; whoami'"
213213
)
214214
.ignore_stderr()
215215
.read();

0 commit comments

Comments
 (0)