Generate an SSH key

On a Windows machine that has gitbash, you would like to generate an SSH key and add it to the ssh agent for Github. What would be your first command after generating and saving the key?

Note: id_rsa is a key name

Options
  1. ssh-add ~/.ssh/id_rsa
  2. eval $(ssh-agent -s)
  3. ssh-keygen -t rsa -b 4096
  4. None of the above

Related Posts