Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 You may need to run notepad as administrator and open the file from within there to be able to save it.


Generate SSH keys

  • Generate a new ssh key with the following cmd (I use Git Bash terminal):

ssh-keygen -t rsa -b 4096 -C "joebloggs.com"  (replace joebloggs with your email address but keep the quotation marks)

  • When you are prompted to "Enter a file in which to save the key" press Enter (this accepts the default location)
  • When prompted to enter a passphrase you can either enter a passphrase or leave blank by just hitting enter (if you opt for a passphrase then you need to enter it every time you e.g. push to gihub)

This should generate a key which starts with ssh-rsa .................... and ends with == joebloggs.com .

...

Check in this file to make sure the above key has been generated C:\Users\<Your name>\.ssh\id_rsa.pub  (you may need to use "open with" e.g. notepad because

...

it     defaults to a Publisher file!) 

...