Server OS: FreeBSD 8.x
After switching IPs between 2 application, the new server can be ssh, but the previous one failed.
New : x.x.x.143
Old : x.x.x.250
SSH Access command to new server ok, but the old one failed.
I ask my bos, and luckily it not because of wrong configured, but the access cache that stored in host..
- Run this command:
% ee .ssh/known_hosts
This file keep cache of previous access ssh command - Delete all the content
- Save
- Try run the ssh command again:
%ssh -i cloudcert.pem os@x.x.x.250 - Connection success!.