5

I just went into a github repo to get the ssh URL for it and all I see is the https one and the instructions to clone with github-cli. I know I can probably make up the ssh-one from the https one but why is the ssh one missing?

NearHuscarl
  • 66,950
  • 18
  • 261
  • 230
eftshift0
  • 26,375
  • 3
  • 36
  • 60

1 Answers1

4

It's the middle option, you need to login to see it. Otherwise, it only shows HTTPS and Github CLI.

enter image description here


NearHuscarl
  • 66,950
  • 18
  • 261
  • 230
  • 1
    Hmm... interesting.... I only see 2 options.... is it because it's a non-logged-in tab? – eftshift0 Oct 25 '21 at 17:40
  • 1
    Yeah.... I think that's it. Just tried in a logged window and the tab is there. Ok. Great to know. – eftshift0 Oct 25 '21 at 17:42
  • 1
    @eftshift0 wow, why would they lock that feature for anonymous users. – NearHuscarl Oct 25 '21 at 17:43
  • 1
    Well.... if you are using ssh it means you are using the keys that you have already set up so not really anonymous.... still a pain. Would you mind adding that to your answer? I added an answer of my own but I think yours is enough, with that little detail added. – eftshift0 Oct 25 '21 at 17:44
  • 1
    Note that when the web browser zoom is high (more than 150%), the code button may not be visible... – Thomas Vincent Jul 13 '22 at 16:01