Linux: Connection reset when connecting to a ssh server

Hi,

you are trying to connect to a ssh server and got the error: Connection reset by 123.123.123.123 port 22


This usually occures when the host keys configured in /etc/ssh/sshd_config on the server are missing. For example you have deployed a fresh Linux Image to a device where sshd isn’t configured yet.

Solution: Generate the missing keys as explained here

Michael

Advertisment to support michlstechblog.info

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.