Plesk

Error appears in Plesk SSH Terminal extension: ssh_exchange_identification: read: Connection reset by peer

Symptoms

Cause

Custom configurations causing refused connections from localhost (127.0.0.1)

Resolution

  1. Login to the server via SSH
  2. Open /etc/hosts.allow in any text editor and allow connections from localhost by adding:

    sshd: 127.0.0.1 

  3. Reload the sshd service:

    # systemctl reload sshd