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

CyberSOC Technical Lead

@ Integrity360 | Sandyford, Dublin, Ireland

Cyber Security Strategy Consultant

@ Capco | New York City

Cyber Security Senior Consultant

@ Capco | Chicago, IL

Sr. Product Manager

@ MixMode | Remote, US

Security Compliance Strategist

@ Grab | Petaling Jaya, Malaysia

Cloud Security Architect, Lead

@ Booz Allen Hamilton | USA, VA, McLean (1500 Tysons McLean Dr)