Reputation: 1485
I have been using git since i have started my career. I am starting to use ssh more and more, i just want to know is there a way to list all available repositories on git using just my ssh key. So i won't open github's webpage everytime and clone what i want. I find it more convenient using my cli. I have tried ssh [email protected]
but doesn't seem to work. I want to list like all available repositories be it private or not.
Upvotes: 0
Views: 2944
Reputation: 83527
Is there any way to list available repositories using ssh?
No, not directly. You cannot access a shell on GitHub servers with SSH. This is clearly stated when you try ssh [email protected]
:
> Hi username! You've successfully authenticated, but GitHub does not
> provide shell access.
Instead for CLI access to your GitHub resources, install GitHub CLI.
Upvotes: 2