Question

Can't login to droplet , i am a newbie user wanna learn to manage my own VPS on Digital Ocean

i tried to login to my droplet… i typed :

ssh root@ip-address

then appear this :

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
3f:f8:4b:83:8e:db:de:31:2e:b0:46:1f:29:56:0f:d3.
Please contact your system administrator.
Add correct host key in /home/satrio/.ssh/knownhosts to get rid of this message.
Offending ECDSA key in /home/satrio/.ssh/knownhosts:1
remove with: ssh-keygen -f "/home/satrio/.ssh/known_hosts" -R xxx.xxx.xxx.xxx (ip-server)
ECDSA host key for xxx.xxx.xxx.xxx has changed and you have requested strict checking.
Host key verification failed.

How to fix it ? I want to login as root. My droplet use UBUNTU 14.04 and Wordpress application. Please help. thank you.

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi there!

When you connect to a server via SSH the server’s “fingerprint” is saved in your ~/.ssh/known_hosts file. You will see this warning if the fingerprint for the server is different than the last time you connected to it. As the warning states, this could be a sign of a “man-in-the-middle attack.”

The server is identified by its IP address. So if you create a droplet, destroy it, and create a second one that has the same IP address, you will see this warning. In this case, you can safely ignore it. To remove the warning and connect to the new server, run:

ssh-keygen -f "~/.ssh/known_hosts" -R YOUR.IP.ADDRESS
ssh root@YOUR.IP.ADDRESS