title: gitlab - ssh_exchange_identification: read: Connection reset by peer
body: <p>I am trying to clone from a Gitlab server from my Macbook. When I clone, I get the following error:</p>
  <pre><code>manzanita-226-109:icarus homeuser$ git clone elm:dummy/dummy.git
  Cloning into 'dummy'...
  
  ssh_exchange_identification: read: Connection reset by peer
  fatal: Could not read from remote repository.
  
  Please make sure you have the correct access rights
  and the repository exists.
  </code></pre>
  <p>When I try to ssh into the gitlab server, I get the following:</p>
  <pre><code>OpenSSH_7.6p1, LibreSSL 2.6.2
  debug1: Reading configuration data /Users/homeuser/.ssh/config
  debug1: Reading configuration data /etc/ssh/ssh_config
  debug1: /etc/ssh/ssh_config line 48: Applying options for *
  debug1: Connecting to elm.ndc.nasa.gov port 22.
  debug1: Connection established.
  debug1: key_load_public: No such file or directory
  debug1: identity file /Users/homeuser/.ssh/id_rsa type -1
  debug1: key_load_public: No such file or directory
  debug1: identity file /Users/homeuser/.ssh/id_rsa-cert type -1
  debug1: key_load_public: No such file or directory
  debug1: identity file /Users/homeuser/.ssh/id_dsa type -1
  debug1: key_load_public: No such file or directory
  debug1: identity file /Users/homeuser/.ssh/id_dsa-cert type -1
  debug1: key_load_public: No such file or directory
  debug1: identity file /Users/homeuser/.ssh/id_ecdsa type -1
  debug1: key_load_public: No such file or directory
  debug1: identity file /Users/homeuser/.ssh/id_ecdsa-cert type -1
  debug1: key_load_public: No such file or directory
  debug1: identity file /Users/homeuser/.ssh/id_ed25519 type -1
  debug1: key_load_public: No such file or directory
  debug1: identity file /Users/homeuser/.ssh/id_ed25519-cert type -1
  debug1: Local version string SSH-2.0-OpenSSH_7.6
  ssh_exchange_identification: read: Connection reset by peer
  </code></pre>
  <p>I can get on the gitlab server using Google Chrome with no issues. I also tried cloning and ssh'ing from a different server with no issues. I do not have admin privileges on this gitlab server, but I do not believe there are any banning/blacklisting softwares on there.</p>
  <p>Can anyone advise?</p>