Removing offending key in known_hosts


sed -i '53d' ~/.ssh/known_hosts
Run in your home directory. Replace “53” with the line number referred to in the known_hosts error from the ssh login attempt. You need the “d”. If you had line 12, then you’ll show ’12d’ in that sed command.