Skip to content

Generate new SSH public/private key pair

# Most common way
$ ssh-keygen

Key pair will be generated in the location: ~/.ssh.

File names:

  • Private key - id_rsa
  • Public key - id_rsa.pub