I have a old laptop that I'm using to learn Ubuntu Server 12.10. Prior to reformatting and installing Ubuntu Server, Ubuntu Desktop was used.
With Ubuntu Desktop, I was using a no-ip.com hosted domain to access the machine via ssh (no problems). After the reformat, I'm trying to use that same no-ip.com domain to access this same machine (same static ip on home LAN) but now I'm receiving the following error:
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 ECDSA key sent by the remote host is
XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX: (Omitted).
Please contact your system administrator.
Add correct host key in /home/guest/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /home/guest/.ssh/known_hosts:2
remove with: ssh-keygen -f "/home/guest/.ssh/known_hosts" -R username.no-ip.org
ECDSA host key for username.no-ip.org has changed and you have requested strict checking.
Host key verification failed.
Admittedly, I don't understand much of the error message. After some google searching I opted to run the following command:
$ ssh-keygen -R {username.no-ip.org}
Which gives the following error:
ssh-keygen: /home/jerry/.ssh/known_hosts: No such file or directory
"Guest" as suggested in the error message, isn't there either:
jerry@mediaserver:/home$ tree -a
.
└── jerry
├── .bash_history
├── .bash_logout
├── .bashrc
├── .cache
│ └── motd.legal-displayed
├── .config
│ └── htop
│ └── htoprc
└── .profile
Which begs the following questions: if this file doesn't even exist, where's the discrepancy noted in the error message? Perhaps I need to create this file?
Thanks to anyone willing to work through this with me!
-Jerry
EDIT:
I should add that I am able to ssh locally using the locally assigned ip address.
sshas theguestaccount or asjerry? Did you make changes under/etc/ssh? What doesls -lA /home/guestshow? – Gilles Dec 21 '12 at 20:13