If you receive the following error when connecting remote server via SSH.
Unable to negotiate with xxx.xxx.xxx port 22: no matching host key type found.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
In this case, the client and server were unable to agree on the key exchange algorithm. As a workaround, you need to tell your ssh client that you want to accept DSA host keys,
Resolution:
Add following lines into your ~/.ssh/config
Host your-remote-host
HostkeyAlgorithms +ssh-dss
OR
specify the following option below while connecting via SSH.
ssh -oHostKeyAlgorithms=+ssh-dss user@remotehost.com