0

After I upgrade my ubuntu to 16.04 LTS when I run git pull --rebase I got and error

Unable to negotiate with xxx.xx.x.xx port xxxx: no matching host key type found. Their offer: ssh-rsa

fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

my config file

Host [host]
    HostName [host]
    Port     [port]
    User     [user]
    HostkeyAlgorithms ssh-dss
    KexAlgorithms +diffie-hellman-group1-sha1
    HostkeyAlgorithms +ssh-dss
    HostkeyAlgorithms +ssh-rsa

I have tried with Unable to negotiate with XX.XXX.XX.XX: no matching host key type found. Their offer: ssh-dss wit still can not sovle.

Community
  • 1
  • 1
Sophon Men
  • 179
  • 1
  • 2
  • 10

0 Answers0