title: Unable to negotiate with XX.XXX.XX.XX: no matching host key type found. Their offer: ssh-dss
body: <p>I am trying to create a git repository on my web host and clone it on my computer. Here's what I did:</p>
  
  <ol>
  <li>I created a repository on the remote server.</li>
  <li>I generated a key pair: <code>ssh-keygen -t dsa</code>.</li>
  <li>I added my key to ssh-agent.</li>
  <li>I copied to the server public key in <code>~/.ssh</code>.</li>
  </ol>
  
  <p>And then, after an attempt to run the command <code>git clone ssh://user@host/path-to-repository</code>, I get an error:</p>
  
  <blockquote>
    <p>Unable to negotiate with XX.XXX.XX.XX: no matching host key type found. Their offer: ssh-dss<br>
    fatal: Could not read from remote repository.<br>
    Please make sure you have the correct access rights and the repository exists.</p>
  </blockquote>
  
  <p>What does that mean?</p>