Open Laboratory for Technocrats

Grab the developer role, learn concepts & prepare with senior software engineers to get solutions for problems in a software job. Coding and Programming Solutions crafted for you.

Change Password of Private Key - Ubuntu

Want to change the password of the private key in Ubuntu.
Its easy and simple command to go on with it as:
1. Open the Terminal
2. Sudo su
3. Enter the root password for the system
4. Go to the location of the private file by usign cd command
5. Then use the command to change the password
     ssh-keygen -p -f  <Name of the File with extension>
6. It will ask you for the old password: Enter It
7. Put new password
And you are done with it.
You have changed the password.
For more details about the command, run command
man ssh-keygen
You will get the information about the options that we can use.

Enjoy learning :)

Top #3 Articles