kex_exchange_identification: read: Connection reset by peer

When connecting to Ubuntu 20.04 server using SSH from a Mac computer, get an error

On checking the servers log file (/var/log/auth.log), found the following error message

To fix this, on the server, edit sshd_config

At end of the file, add

Restart ssh


Need help with Linux Server or WordPress? We can help!

Leave a Reply

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