Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to access a Github Wiki via SSH?

Tags:

git

github

ssh

I just created a Wiki for a Github repo, and cloned it to my desktop. There is only the option to clone using https, which means every time I try to push git asks me for my username and password.

Is there some way to use SSH in a Github Wiki as I do with all my standard repos?

I checked the Wiki help but couldn't find anything there.


I' using 2FA in Github by the way.

like image 714
Gabriel Avatar asked Feb 27 '17 18:02

Gabriel


People also ask

How do I access GitHub repository via SSH?

GitHub SSH config With the public key copied, log into GitHub and go to your account settings. A link exists for SSH and GPG keys. Click on this link, add a GitHub SSH key, paste the value of the public key into the appropriate field, and give your key a creative name.

Does Git work over SSH?

Probably the most common transport protocol for Git is SSH. This is because SSH access to servers is already set up in most places — and if it isn't, it's easy to do. SSH is also the only network-based protocol that you can easily read from and write to.

Is SSH GitHub safe?

While SSH is usually considered more secure, for basic usage of Github, HTTPS authentication with a password is acceptable enough.


1 Answers

You can also clone wiki via ssh :

git clone [email protected]:YOUR_USERNAME/YOUR_REPOSITORY.wiki.git 
like image 126
Bertrand Martel Avatar answered Sep 21 '22 18:09

Bertrand Martel