-
Notifications
You must be signed in to change notification settings - Fork 801
Open
Labels
Waiting on AuthorNeed more information to diagnoseNeed more information to diagnose
Description
I noticed a difference between Linux OpenSSH and the Windows OpenSSH port.
On Linux, when the remote host key changes, OpenSSH shows a helpful line that tells you exactly how to remove the old entry from known_hosts, like:
remove with:
ssh-keygen -f "/home/dharmik/.ssh/known_hosts" -R "[192.168.160.122]:3041"
But on Windows, this line never appears. Windows only shows something like:
Add correct host key in C:\\Users\\Chirag/.ssh/known_hosts to get rid of this message.
Offending ED25519 key in C:\\Users\\Chirag/.ssh/known_hosts:31
Host key verification failed.
There’s no suggested ssh-keygen -R command, which makes the experience inconsistent and a bit confusing when switching between Linux and Windows. Since the command works fine on Windows, it would be helpful if the Windows port printed the same helper message.
I want to know if this is deliberate or is being planned?
Proposed technical implementation details (optional)
No response
Metadata
Metadata
Assignees
Labels
Waiting on AuthorNeed more information to diagnoseNeed more information to diagnose