Koozali.org: home of the SME Server

The authenticity of host 'XXX.XX.XXX.XX (XXX.XX.XXX.XX)' can't be established.

Offline joost

  • 19
  • +0/-0
I try to ssh to the server with ssh root@xxx.xx.xxx.xx

The reply I get is: "The authenticity of host 'XXX.XX.XXX.XX (XXX.XX.XXX.XX)' can't be established."
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Failed to add the host to the list of known hosts (.ssh/known_hosts).

I can go futher.

What could be the problem?

Thanks

Offline Jean-Philippe Pialasse

  • *
  • 2,765
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
man in the middle attack could be the worst issue.

have you upgraded your server or change your client configuration?

Offline joost

  • 19
  • +0/-0
I removed PHPKI. And did a fresh install. When I tried to connect via my laptop to the server I got this error. Is that logical? When I moved .ssh/known_hosts to known_hosts.old and retried to connect with ssh it added the fingerprint to known_hosts and the error disappeared.

Now I am wondering does this make sense? Or is there more to this?

Thanks

Offline Jean-Philippe Pialasse

  • *
  • 2,765
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
fresh install means new host key. 

means you need to remove the entry for the same ip in .ssh/known_hosts on your client