Posts

Showing posts from 2017

Creating a .ssh key in window and Mac machines

How to generate ssh key in winows - open a git bash any where and give the command  ssh-keygen -t rsa -C "your_email@example.com" It will ask you the location where to store the key, just press enter(By default it will take the location C:computerName/users/.ssh/id_rsa) It will ask you for passphrase(If you wanna give passphrase you can give else simply press enter) It will ask you to confirm the passphrase, if you have given any passphrase then enter the same here else go ahead with pressing enter Finally both the public and private keys were generated and saved in the location C:computerName/users/.ssh/ Share your public key to the Git team to give you the access and make sure your private key should be secure(If someone stole your private key there will be major chances to steel the source code). How to generate ssh key in Mac Machine -  Below are the steps to create the ssh keys n Mac machine Paste the text below, substituting in your GitHub email address.