Bug 2981 - Are you sure you want to continue accepts any extra letters after yes or no
Summary: Are you sure you want to continue accepts any extra letters after yes or no
Status: CLOSED DUPLICATE of bug 2803
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: 7.4p1
Hardware: Other Linux
: P5 security
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-15 09:13 AEDT by troy@box293.com
Modified: 2020-02-14 15:59 AEDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description troy@box293.com 2019-03-15 09:13:33 AEDT
When you are prompted if you want to continue, y or n is not accepted however any extra characters after yes or no is accepeted, like yessir or nosir.

$ ssh xxx@xxx.xxx.xxx.xxx
The authenticity of host 'xxx.xxx.xxx.xxx' can't be established.
RSA key fingerprint is SHA256:olwf2l6OhbtQ6sOo6OyVDzZy17YLuxkTdmGnmR6746E.
Are you sure you want to continue connecting (yes/no)? n
Please type 'yes' or 'no': nosir
Host key verification failed.

$ ssh xxx@xxx.xxx.xxx.xxx
The authenticity of host 'xxx.xxx.xxx.xxx' can't be established.
RSA key fingerprint is SHA256:olwf2l6OhbtQ6sOo6OyVDzZy17YLuxkTdmGnmR6746E.
Are you sure you want to continue connecting (yes/no)? y
Please type 'yes' or 'no': yessir
Warning: Permanently added 'xxx.xxx.xxx.xxx' (ECDSA) to the list of known hosts.
Comment 1 Damien Miller 2019-05-10 14:41:29 AEST

*** This bug has been marked as a duplicate of bug 2803 ***
Comment 2 Damien Miller 2020-02-14 15:59:22 AEDT
Closing all resolved bug with release of openssh-8.2