12/19/2023 0 Comments Git bash windows wont use ssh key![]() Ssh-keygen -t rsa -b 4096 -C “ the name of the file for saving the key pair and provide any arbitrary passphrase when prompted. Now you can generate the SSH key pair using ‘ssh-keygen’ utility. ![]() Basically the Windows folder that you have pointed will be mounted to the ubuntu 18.0.4 bash shell. It will launch the bash shell on windows 10. Navigate to the directory in windows 10, where you want to generate SSH key pair. Let’s move to the SSH set up process for Github. You can refer microsoft documenation for that. I’m not covering the steps for setting up bash on Windows 10 using Windows subsystem for linux. My windows 10 is already set up with Ubuntu 18.0.4 for Windows sub-system for linux. ![]() Basically i will leverage bash on windows 10 to work with private github repository using SSH keys. In this post, i’ll be covering the option #1. The advantage of the second approach is that you can have a dedicated key or set of deploy keys for individual repositories. I have learnt that a Deploy Key can be associated with only one Github repository at this point in time. Leverage Deploy Keys at the individual repository level.The advantage of this approach is that you have one SSH key defined at the Github account level to manage or work with all the private Github repositories created under that account. The whole idea is that you will be generating an RSA key pair using SSH Key gen utility, add the private key portion of the key pair to the SSH agent and upload the public key portion of the key pair to the Github account settings. ![]() So that you can work with Github private repository using SSH keys. Leverage SSH keys at the Github account level.If you have a private Github private repository ready for collaboration, the most proven way to work with that is to leverage one of the following two options. Meaning, we need to work and collaborate on a private Github repository. There are times, we want to collaborate with other stakeholders in Github in a private manner. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |