Search code examples
gitgithubsshclone

github - how to clone via ssh?


In the past I've been able to get an ssh link to clone from guthub using the dropdown link menu. However, the only option I see now is for a http link. Hown can I generate an ssh link I can use with git clone?

enter image description here


Solution

  • Have you set up an SSH key with Github? If you have, try the following:

    [email protected]:$USER_NAME/$REPO_NAME.git