ssh-keygen

To generate SSH key, run If you need RSA key, run To create an SSH key in the current folder, run This will create 2 files in the current directory. The “-N” option is for keyphrase. With -N “”, it won’t ask you for kayphrase. See Change SSH Key Passphrase

Change SSH Key Passphrase

To change SSH key passphrase, run ssh-keygen -p -f ~/.ssh/id_rsa Example root@ok:~/.ssh# ssh-keygen -p -f ~/.ssh/id_rsa Enter new passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved with the new passphrase. root@ok:~/.ssh# See ssh-keygen