April 6, 2024, 9:55 p.m. | Christophe Colombier

DEV Community dev.to

I mentioned in a previous article why it's important to secure your ssh key with a passphrase









Why using a passphrase to secure your SSH key ?


Christophe Colombier ・ Apr 6



#security
#tutorial
#ssh







Securing a private SSH with a passphrase.


To add a passphrase to an existing SSH key, you can use the ssh-keygen command with the -p option.



ssh-keygen -p -f ~/.ssh/id_ed25519


Replace "~/.ssh/id_ed25519" with the path to your SSH private key if it's different.


You'll be …

article howto important key passphrase private security ssh ssh key tutorial

Azure DevSecOps Cloud Engineer II

@ Prudent Technology | McLean, VA, USA

Security Engineer III - Python, AWS

@ JPMorgan Chase & Co. | Bengaluru, Karnataka, India

SOC Analyst (Threat Hunter)

@ NCS | Singapore, Singapore

Managed Services Information Security Manager

@ NTT DATA | Sydney, Australia

Senior Security Engineer (Remote)

@ Mattermost | United Kingdom

Penetration Tester (Part Time & Remote)

@ TestPros | United States - Remote