Unable to negotiate with XX.XXX.XX.XX: no matching host key type found. Their offer: ssh-dss

后端 未结 7 948
自闭症患者
自闭症患者 2020-12-02 05:22

I am trying to create a git repository on my web host and clone it on my computer. Here\'s what I did:

  1. I created a repository on the remote server.
  2. I
7条回答
  •  有刺的猬
    2020-12-02 06:07

    You either follow above approach or this one

    Create the config file in the .ssh directory and add these line.

    host xxx.xxx
     Hostname xxx.xxx
     IdentityFile ~/.ssh/id_rsa
     User xxx
     KexAlgorithms +diffie-hellman-group1-sha1
    

提交回复
热议问题