


You can remove StrictHostKey checking in your ssh configuration file, typically stored at ~/.ssh/config.Īn example Host block is provided below: Host 101
Remove ssh key mac how to#
However I didnt see any answers address the specific part of the question " How to remove strict RSA key checking in SSH". ssh/authorized_keys file with an inline sed. And the recommended solution is indeed to remove the offending key from the. The problem here is, as advised by some others, a change in the host probably due to reinstallation of the server (most common scenario). The question states "How to remove strict RSA key checking in SSH and what's the problem here?" I think though some of the answers here address the recommended course of action in the OP's question, it does not fully answer the question. Host1:~/.ssh # Read from remote host host1: Connection reset by peerĭoes anyone know what's happening and what I could do to solve this problem?

It keeps me for a very few seconds logged in and then it closes the connection. I have a Linux server that whenever I connect it shows me the message that changed the SSH host key:
