Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Host key prompt repeats when answering 'no' #5

Open
ludup opened this issue Aug 6, 2023 · 0 comments
Open

Host key prompt repeats when answering 'no' #5

ludup opened this issue Aug 6, 2023 · 0 comments

Comments

@ludup
Copy link
Contributor

ludup commented Aug 6, 2023

During host key verification, when answering "no" at the following prompt instead of exiting, it just keeps repeating the same prompt over and over.

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:Se3rIwxWxxxxxxxxxxV6Sv2wtquRYqI38pGlixI0.

Fingerprints that are known to be valid include :
SHA256:nk8Wblt65fxxxxxxxxVm+JeqWaILnfYoWr+iD79s
Do you wish to continue? Doing so will update the stored fingerprint and it will be
accepted in the future without question (no/yes/fingerprint)?

I also think the message should include the key type before the fingerprint for the currently accepted keys. i.e.

Fingerprints that are known to be valid include :
ssh-ed25519 SHA256:nk8Wblt65fxxxxxxxxVm+JeqWaILnfYoWr+iD79s```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant