Can I generate a SSH key (Ed25519) with a password for the private key?

ConcealedRecon
ConcealedRecon
Community Member

On Linux, I can generate a new SSH key with the "ssh-keygen -t ed25519" command and I will ask to add a password for the private key.
In 1Password I can generate a new SSH key, but I don't see a way to assign a password for the private SSH key. Is there a possibility to protect the private SSH key with a password in 1Password?
Anyway, it was possible for me to import a password protected private SSH key generated in Linux, but I would like to be able to generate the password protected SSH key in 1Password.


1Password Version: 8.10.6
Extension Version: Not Provided
OS Version: macOS Ventura 13.3.1 (a)
Browser:_ Not Provided
Referrer: forum-search:generate ssh key password

Comments

  • Hey @ConcealedRecon!

    The SSH keys you store in 1Password are already be protected by your Master Password and Secret Key. Just like any other 1Password item they will be store in an encrypted form on disk.

    If you ever want to export an ssh key from 1Password and store it on disk, you should store it in an encrypted form. That's why the 1Password app will prompt you to set a password for your exported SSH key when exporting.

    Did this answer your question? Let me know if you have any other concerns.

    Márton

  • ConcealedRecon
    ConcealedRecon
    Community Member

    Okay. Thank you for your explanation.

This discussion has been closed.