Solution for RSA host key for <ip_address> has changed and you have requested strict checking: Method 1: Remove keys ssh-keygen -R <server_name> (or) ssh-keygen -R <ip_address> Method 2: Delete key from /home/user/.ssh/known_hosts vim /home/user/.ssh/known_hosts +linenumber dd wq