Generate SSH Key Pair

Steps

  1. At your local, run the command with <your_username>.

    ssh-keygen -t rsa -b 4096 -C <your_username>
  2. You will be prompted to change the file/the location and passphrase if required. Just press "enter" for default without a required passphrase. By default, the new key files are generated at $HOME/.ssh/id_rsa (private key) and $HOME/.ssh/id_rsa.pub (public key).

Reference

Last updated