1

Most likely someone did a server update last night, because when I try to do a rsync (from win 7) I get the message (short version):

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!  
It is possible that a host key has just been changed.  
The fingerprint for the ECDSA key sent by the remote host is
SHA256:x0190vsJNHPmSADGhdfefSftjnF4sB38vsoHOKU.  
Please contact your system administrator. Add correct host key in
*/home/steven/.ssh/known_hosts* to get rid of this message.
Offending ECDSA key in */home/steven/.ssh/known_hosts:1* ECDSA host key for
[some.url.com]:18720 has changed and you have requested strict checking.  
Host key verification failed.

After looking at similar (identical) problems on the net, I have tried:

  • ssh-keygen -R (to remove the Offending RSA key)
  • Emptied my known_hosts file (it only has one line)
  • Deleted known_hosts file
  • Adding -o StrictHostKeyChecking=no in the ssh connection string

Then I tried to login in using ssh from command line by running ssh server.domain.no and I got the following message:

The authenticity of host 'server.domain.no (255.200.211.255)' can't be established. ECDSA key fingerprint is SHA256:wci/jhRN+wW56QcXOqKUkkZ5hgeJSp9qn32THbsmElI.
Are you sure you want to continue connecting (yes/no)? yes

Selecting yes, it seems my known hosts files was created/ updated.

Warning: Permanently added 'server.domain.no,255.200.211.255' (ECDSA) to the list of known hosts.

The problem is that no new file was generated in /home/steven/.ssh/.

So where was this file generated?
How can I get the host key so that I may add it to my known_hosts file?

Any help is greatly appreciated (as I'm banging my head to the wall).

Jakuje
  • 10,363
Steven
  • 275

0 Answers0