-
Notifications
You must be signed in to change notification settings - Fork 530
Open
Description
the "REMOTE HOST IDENTIFICATION HAS CHANGED" error is erroneously reported as "read: Connection reset by peer".
see the difference between omitting -v and adding -v here:
$ sshfs -o allow_other -o reconnect -o follow_symlinks root@domain:/ /remote/domain
read: Connection reset by peer
$ sshfs -o allow_other -o reconnect -o follow_symlinks root@domain:/ /remote/domain -v
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 ED25519 key sent by the remote host is
SHA256:me1b+B2WwBnpvPTMW2gwOduBZl+kuf8EWFzhtb1r4B4.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /root/.ssh/known_hosts:49
remove with:
ssh-keygen -f '/root/.ssh/known_hosts' -R 'domain'
Host key for domain has changed and you have requested strict checking.
Host key verification failed.
read: Connection reset by peer
Metadata
Metadata
Assignees
Labels
No labels