search

Home  >  Q&A  >  body text

When using the git clone function of TortoiseGit, an error is reported when using ssh, but normal when using http. What is the reason?

The error message is as shown below:

PHPzPHPz2834 days ago1056

reply all(3)I'll reply

  • 某草草

    某草草2017-05-02 09:50:15

    The prompt shows that there is no permission for ssh access. There are two sets of permission controls for ssh and http. Maybe you only have http permission?

    reply
    0
  • 天蓬老师

    天蓬老师2017-05-02 09:50:15

    Clone a remote repository, generally using the git protocol (public projects) or the http/https protocol (private projects). SSH is usually used for large projects, and the public key must be configured, so it is recommended to check whether the public key is deployed and whether a password has been set.

    reply
    0
  • 世界只因有你

    世界只因有你2017-05-02 09:50:15

    • Is the remote address you accessed correct?

    • Have you added the public key?

    • Have you enabled the clone permission?

    reply
    0
  • Cancelreply