How to Fix “ssh_exchange_identification: read: Connection reset by peer” Error

https://phoenixnap.com/kb/fix-connection-reset-by-peer-ssh-error

Above didn't work for me so I tried raspi-config, but got a message “Initial ssh key generation still running. Please wait and try again.”

so I Googled the message and found this:

Do_ssh failing in initial setup

https://raspberrypi.stackexchange.com/questions/1303/do-ssh-failing-in-initial-setup

Did all of that and can not SSH to that server.