Skip to main content

Generate SSH key

Use password on private key

Please use a password to protect your private key for safety purposes.

Generate Key Pairs

  ssh-keygen -t rsa -b 8192

Display Public Key

  cat ~/.ssh/id_rsa.pub
GitLab

To use GitLab, you should make an SSH key to avoid always typing username and password from GitLab account.
After generate it, paste the public key there : Gitlab Keys Settings

CLI Demo

asciicast