Skip to main content

ssh connecting error: key differs

Message like this:

Warning: the ED25519 host key for 'simpel.cc' differs from the key for the IP address '188.40.103.217'
Offending key for IP in /Users/cox/.ssh/known_hosts:8
Matching host key in /Users/cox/.ssh/known_hosts:45
Are you sure you want to continue connecting (yes/no)? yes

Open:

vim /Users/cox/.ssh/known_hosts

Delete line with matching host (#8 in this case) and save.