Generating a new SSH Key Pair
Enterprise
Applicable to Enterprise Edition
Community
Applicable to Community Edition
Steps
At your local, run the command with
<your_username>
.ssh-keygen -t rsa -b 4096 -C <your_username>
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).