Generating a SSH public/private key pair
- Windows: Start GIT Bash OSX & Linux: start Terminal
- Use the command below to create the key pair
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
- When prompted for the file to save the key, press ‘Enter’ (or ‘Return’) to accept the default
- Enter a secure passphase when prompted. Check github help for more information if required.
The generated files will be stored in:
Windows: c:\users<your username>.ssh
OSX: /Users/