I rent a shared hosting server. I have set up the login to be through keys (private/public) by the use of ssh-copy-id, and now that works when i type
(Since I choose to have a passphrase I get a GUI-prompt asking for password)
I had tried this once before but didn't understand then what was happening and canceled it - so it was after the second try I got to the point where I am (it works).
(B.t.w. I installed Wordpress on the server)
When I try
sudo scp webbsidekopia_1.zip email@example.com:/home/user
I get the message:
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 SHA256:0uLuPRGZodB+HQK+GtgdryIAxtaejIRTPBh/LPBrQwA. Please contact your system administrator. Add correct host key in /root/.ssh/known_hosts to get rid of this message. Offending ECDSA key in /root/.ssh/known_hosts:4 remove with: ssh-keygen -f "/root/.ssh/known_hosts" -R "220.127.116.11" ECDSA host key for 18.104.22.168 has changed and you have requested strict checking. Host key verification failed. lost connection
Is this normal? Can I use both ssh-copy-id and scp? Should I remove host?
local mashine is Linux Mint 19, server is Ubuntu 18.4