Skip to content

Commit

Permalink
Merge pull request #8737 from StefanBruens/changed_ssh_prompt
Browse files Browse the repository at this point in the history
Allow "/[fingerprint]" fragment in prompt from new openssh
  • Loading branch information
Vogtinator committed Oct 21, 2019
2 parents 39771c2 + b044319 commit af85268
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 af85268

Please sign in to comment.