- 3,714,556 Users
- 2,242,576 Discussions
- 7,844,931 Comments
Forum Stats
Discussions
Categories
- Industry Applications
- 3.2K Intelligent Advisor
- Insurance
- 1K On-Premises Infrastructure
- 356 Analytics Software
- 32 Application Development Software
- 1.7K Cloud Platform
- 700.5K Database Software
- 17.4K Enterprise Manager
- 7 Hardware
- 164 Infrastructure Software
- 87 Integration
- 51 Security Software
[email protected]:~$ ssh [email protected] Warning: the ECDSA host key for 'vbol83-01' nding ssh key

Fresh install of OL r8u3 under vbox. Installation went fine other than needing to touch up a few network items - seems that the configuration of one of the NICS (a bridged adapter to Vbox) during the installation didn't "take" and I had to use nmcli to get them corrected. Be that as it may . . .
Now that it is up and ifconfig shows the adapters as I expect/want, I try to ssh from the host system, and get this:
[email protected]:~$ ssh [email protected] Warning: the ECDSA host key for 'vbol83-01' differs from the key for the IP address '192.168.0.200' Offending key for IP in /home/ed/.ssh/known_hosts:8 Matching host key in /home/ed/.ssh/known_hosts:9 Are you sure you want to continue connecting (yes/no)? yes [email protected]'s password: Activate the web console with: systemctl enable --now cockpit.socket Last login: Wed Feb 3 09:51:19 2021 [[email protected] ~]#
Best Answer
-
Hi.
What message is not clear for You or caused question ?
Warning: the ECDSA host key for 'vbol83-01' differs from the key for the IP address '192.168.0.200'
Offending key for IP in /home/ed/.ssh/known_hosts:8
It's mean that some time ago You use ssh for connet to other host with same IP.
Remove line 8 at file /home/ed/.ssh/known_hosts for remove this warning/
Activate the web console with: systemctl enable --now cockpit.socket
In case You want remove this message - check content of file: /etc/issue.d/cockpit.
Move this file to other place and reboot system
Regards,
Nik.
Answers
-
Hi.
What message is not clear for You or caused question ?
Warning: the ECDSA host key for 'vbol83-01' differs from the key for the IP address '192.168.0.200'
Offending key for IP in /home/ed/.ssh/known_hosts:8
It's mean that some time ago You use ssh for connet to other host with same IP.
Remove line 8 at file /home/ed/.ssh/known_hosts for remove this warning/
Activate the web console with: systemctl enable --now cockpit.socket
In case You want remove this message - check content of file: /etc/issue.d/cockpit.
Move this file to other place and reboot system
Regards,
Nik.
-
When I first got this error I looked at known_hosts, and it appeared to be a binary file, so wasn't sure how to 'delete line 8'. I guess due to all the long encrypted keys. I had a vague memory of dealing with the known_hosts file many, many years ago, and thought I remembered there being a utility to remove the offending entry, but could find nothing on that All this was before posting my question. So I opened it again with vi and set numbering on to identify the individual lines. Deleted line 8 and that fixed the issue.
-
Hi.
More correct way:
ssh-keygen -R <hostname>
But I always forget this command.
Ssh show which line at which file is wrong, so it's more easy for me - just remove this line :).
Regards,
Nik