Server SSH Authentication
Only need to backup and copy the/ETC/SSH directory on the server to change server IP or reload openssh-server, system reload, etc. without affecting client connection
If the following error can be avoided
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ warning:remote HOST Identification has changed! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT is POSSIBLE this SOMEONE is DOING SOMETHING nasty!
Someone could is eavesdropping on your right now (Man-in-the-middle attack)!
It is also possible, a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
5c:99:a2:08:02:bf:1b:45:37:ce:96:29:da:c2:e3:dd.
Please contact your system administrator.
Add correct host key in/root/.ssh/known_hosts to get rid of the this message.
Offending ECDSA Key In/root/.ssh/known_hosts:2
Remove With:ssh-keygen-f "/root/.ssh/known_hosts"-R 10.1.81.116
ECDSA host key for 10.1.81.116 had changed and you have requested strict checking.
Host Key verification failed.
This article is from the "Linux" blog, so be sure to keep this source http://yangzhiming.blog.51cto.com/4849999/1669007
Server SSH Authentication