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