Skip to content

Commit

Permalink
Allow "/[fingerprint]" fragment in prompt from new ssh
Browse files Browse the repository at this point in the history
SSH changed the allowd answers from "(yes/no)" to "(yes/no/[fingerprint])",
also accept the new version.

Related issue: poo#58406
  • Loading branch information
StefanBruens committed Oct 20, 2019
1 parent 062c997 commit 7ad4c62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/console/sshd.pm
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ sub run {
if (is_serial_terminal()) {
# Make interactive SSH connection as the new user
type_string "ssh -v -l $ssh_testman localhost -t\n";
wait_serial('Are you sure you want to continue connecting (yes/no)?', undef, 0, no_regex => 1);
wait_serial('Are you sure you want to continue connecting \(yes/no(/\[fingerprint\])?\)\?', undef, 0, no_regex => 0);
type_string "yes\n";
wait_serial('Password:', undef, 0, no_regex => 1);
type_string "$ssh_testman_passwd\n";
Expand Down

0 comments on commit 7ad4c62

Please sign in to comment.