Advertisement
Tritonio

How do I remove the passphrase for the SSH key without having to create a new key?

Mar 15th, 2021
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1.  
  2.  
  3. Short answer:
  4.  
  5. $ ssh-keygen -p [-P old_passphrase] [-N new_passphrase] [-f keyfile]
  6.  
  7. However, you might want to consider using ssh-agent, which can cache the passphrase for a time.
  8.  
  9. The latest versions of gpg-agent also support the protocol that is used by ssh-agent.
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement