Is an SSH Key Required to clone a public github account?

Does github require all cloning, of both public and private repositories, to use an SSH public key? Maybe a better question, is can git clone a github repo without a ssh key at all.

  • Trying to “install” github, .ssh dir not there
  • Confusing error message from git
  • How to get started with git / github support for Monticello?
  • Github: error cloning my private repository
  • C# example of downloading GitHub private repo programmatically
  • “git push origin master” freezes
  • Use detached branch for deployment
  • Why does GitHub think my code has differences?
  • Github workflow for single developer
  • Trying to “install” github, .ssh dir not there
  • Searching for -> on Github
  • BRISK feature detector detects zero keypoints
  • 3 Solutions collect form web for “Is an SSH Key Required to clone a public github account?”

    You can use https protocol, as mentioned in “GitHub – Https access”.
    You would then use your GitHub login/password in a ~/.netrc file (which can be a security concern).
    Note: on Windows, that would be an _netrc file.

    Since GitHub supports smart http protocol (as detailed here), you can use that for cloning/pulling and for pushing.

    smart http

    SSH Key is used for more safety communication. Is not necessary, although using SSH Key is usefull because encrypte communication and also does not involve password.

    No. A SSH key is only needed to push to a public repo on github, not to pull from one (although the easiest method to get a clone you can later push to uses the same key to pull as to push, that isn’t the only way to work).

    Git Baby is a git and github fan, let's start git clone.