Change an SSH key comment

Change the comment stored in the public key of a pub/priv key pair.

Authored by: Kia Matthews
Brought to you by Warp, a free terminal reimagined to work like a modern app.
new_comment
ssh_key_path

Command
Copy
ssh-keygen -c -C "new_comment" -f ssh_key_path
Tags