Best for · Password managers

1Password SSH keys: agent setup, Git signing and the limits

We read every plan page. Paid links are labelled. Money never changes a ranking. How we pick.

Verdict Our pick

The bar guide has a call.

The vectaai bar guide pointing at the verdict
  • it if you already pay for 1Password (Individual is $2.99 a month billed yearly on the current promo, $3.99 regular) and juggle keys across machines.

Compared here

  • 011Password SSH agent
  • 02Plain ssh-agent with key files
  • 031Password Git commit signing

Short answer

1Password can generate, import and store your SSH keys and serve them through its own SSH agent, so private keys never sit as files on disk. Each new app that wants a key gets a Touch ID, Windows Hello or password prompt. It supports Ed25519 and RSA (2048, 3072 and 4096-bit), works on Mac, Windows and Linux, and can set up SSH commit signing for Git 2.34 and later with one click.

Use it if you already pay for 1Password (Individual is $2.99 a month billed yearly on the current promo, $3.99 regular) and juggle keys across machines. Stay with plain key files if you work on servers without a desktop session or on a Linux install from Flatpak or Snap, where the agent does not work. Below: setup in five steps, the config file, Git signing, and the six-key limit that trips people up.

1Password: 14-day trial

Sponsored links. We may earn a commission; it never changes the pick.

At a glance

From 1Password's developer docs and pricing page, read 3 December 2026. Prices in US dollars as shown to us.
Question1Password SSH agentPlain ssh-agent with key files
Where the private key livesInside 1Password, end-to-end encryptedA file in ~/.ssh, protected by a passphrase if you set one
Approval to use the keyPrompt per new app (Touch ID, Windows Hello or password)None after the key is loaded, unless you configure it
Key typesEd25519 and RSA 2048, 3072, 4096Whatever ssh-keygen supports
Import formatsPKCS#1, PKCS#8, OpenSSH; not PuTTY .ppkn/a
Sync across machinesYes, with your vaultsYou copy files yourself
Git commit signingSet up from the app, Git 2.34 or laterManual config
Works on Linux Flatpak or Snap installsNo, per the docsYes
Cost1Password subscription; Individual $2.99/mo promo, $3.99 regular, billed yearlyFree

Here is the honest pitch. Your SSH keys probably live in a folder called .ssh, copied from laptop to laptop for years, some with no passphrase, one called id_rsa_old_DO_NOT_DELETE. 1Password's SSH feature fixes that mess. It is not magic and it has a couple of traps. Both are below.

Money first. 1Password may pay us through the /go/ link; the affiliate notes we keep say its consumer terms are not public, so we honestly do not know. Plain key files cost nothing and we tell you when they are the better choice. We did not run a fleet of servers on this. We read 1Password's developer docs and pricing page on 3 December 2026 and we quote them.

What 1Password does with SSH keys

According to the 1Password SSH overview, you get four things:

  • Key storage. Generate or import keys, kept behind "secure end-to-end encryption" instead of as files on disk.
  • An SSH agent. "The SSH agent works with your existing SSH clients and acts as their key provider." Your normal ssh, git and IDE keep working; they just ask 1Password for the key.
  • Approval prompts. Each new app that wants a key triggers Touch ID, Windows Hello or your account password.
  • Git commit signing. Set up from the app.

Extras: the browser extension can fill public keys into GitHub and similar sites, and the app shows recent agent activity, so you can see which tool used which key and when.

Key types and import formats

From the manage keys page:

  • Types: Ed25519 (256-bit, the default) and RSA at 2048, 3072 and 4096 bits. The page says RSA is "only considered secure if it's 2048 bits or longer".
  • Import formats: PKCS#1, PKCS#8 and OpenSSH. PuTTYgen .ppk files "aren't supported", so convert them first.
  • Encrypted keys: AES and 3DES in all formats, ChaCha20-Poly1305 in OpenSSH format only. If import fails, re-encrypt with ssh-keygen -p.
  • Export: "You can export a private SSH key from 1Password at any time", as OpenSSH or PKCS#8. Good: you are not locked in.

To make a new key in the desktop app, open a Personal, Private or Employee vault, choose New Item, SSH Key, then Add Private Key, Generate a New Key. From the command line, op item create --category ssh --title "My SSH Key" makes an Ed25519 key by default. 1Password creates the public key and fingerprint for you.

Setup in five steps

From Get started with SSH:

  1. Install and sign in to the desktop app. Mac, Windows or Linux. On Linux, not the Flatpak or Snap version: "The 1Password SSH agent doesn't work with Flatpak or Snap Store installations of 1Password."
  2. Turn on the agent. Settings, Developer, "Use the SSH Agent". On Mac, also tick Keep 1Password in the menu bar and Start at login, or the agent disappears when you close the window.
  3. Point SSH at it (Mac and Linux). Add to ~/.ssh/config:
    • Mac: Host * then IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"
    • Linux: Host * then IdentityAgent ~/.1password/agent.sock
  4. Windows instead: open Services, find OpenSSH Authentication Agent, set Startup type to Disabled and Stop it. 1Password then listens on the system pipe. The docs note it "only works with SSH clients that support Microsoft OpenSSH". For Git on Windows, set core.sshCommand to C:/Windows/System32/OpenSSH/ssh.exe.
  5. Add your public key to GitHub, GitLab or the server's authorized_keys, then run ssh -T git@github.com and approve the prompt.

The approval prompt, and how to make it less chatty

The authorization page explains the knobs:

  • Remember key approval: until 1Password locks (default), until 1Password quits, or for 4, 12 or 24 hours. The timed options survive a lock.
  • Ask approval for each new: application (default), application and terminal session (every new terminal tab asks again), or request (every single use asks).
  • Approve for all applications: a tick box on the prompt that authorizes every app in your OS user account for that agent session.

Our take: the default is right for most people. If you run scripts that SSH a hundred times, use the 4 or 12 hour option rather than switching approvals off.

The six-key trap and the config file

Here is the trap that sends people to forums. By default, the agent offers any SSH key in your default Personal, Private or Employee vault. Most SSH servers only try six keys per connection, the MaxAuthTries default. Store eight keys and the server may give up before it reaches the right one.

The fix is an agent config file, per the agent config docs:

  • Mac and Linux: ~/.config/1Password/ssh/agent.toml
  • Windows: %LOCALAPPDATA%/1Password/config/ssh/agent.toml

Each entry is a block like [[ssh-keys]] with item = "Git Authentication Key" and vault = "Work". The order of the blocks sets the order keys are offered in, which is exactly how you dodge the six-key limit. The same file is how you use keys from shared or custom vaults, which the default setup ignores.

A second fix works too: in ~/.ssh/config, give each host an IdentityFile pointing at that key's public key file, with IdentitiesOnly yes. Then SSH asks for one specific key.

Signing Git commits

From the commit signing docs:

  • You need Git 2.34 or later.
  • Open the key in the desktop app, open its menu, choose Configure Commit Signing, then Edit Automatically. Or Copy Snippet and paste into ~/.gitconfig yourself.
  • What it sets: gpg.format to ssh, user.signingkey to your public key, optionally commit.gpgsign to true, and gpg.ssh.program to 1Password's signer. On Mac that is /Applications/1Password.app/Contents/MacOS/op-ssh-sign. The page did not list Windows or Linux paths; the app's snippet fills those in.
  • GitHub: add the key in SSH key settings with Key type set to Signing key. Yes, again, even if it is already your authentication key.
  • GitLab: set Usage type to Signing, or Authentication and Signing.

Every commit then triggers the same approval prompt. That is the point: nobody signs as you without your finger.

Who should use it, and who should not

  • Use it if you already pay for 1Password, work on two or more machines, and want keys off disk with a prompt per app.
  • Use it if your team shares deploy keys: put them in a shared vault and list that vault in agent.toml.
  • Skip it on headless servers and CI. The agent needs the desktop app running and signed in. For automation, see our 1Password AWS CLI guide for the shell plugin approach, or keep a dedicated deploy key file.
  • Skip it on Linux if you insist on the Flatpak or Snap build.
  • Not on 1Password? Plain key files with a good passphrase and the normal ssh-agent are free and fine. Our 1Password vs KeePass page covers free alternatives for passwords.

What it costs

The 1Password pricing page showed Individual at $2.99 a month billed yearly on a promotion (regular $3.99) and Families at $4.49 for up to 5 people (regular $5.99), with a 14-day trial and no card. The SSH docs simply say to sign up for 1Password and do not name a plan, so we read that as: any account with the desktop app. For the family plan details see our 1Password family plan review.

How we checked

We read 1Password's SSH overview, setup, key management, agent config, authorization and commit signing docs, plus its pricing page, on 3 December 2026. We did not test every SSH client or IDE. More in the password managers hub and on how we pick.

Questions people ask

Can 1Password store SSH keys?

Yes. 1Password has an SSH Key item type. You can generate a new key inside the app or import an existing one in PKCS#1, PKCS#8 or OpenSSH format, including encrypted keys. It creates the public key and fingerprint for you, and you can export the private key again at any time in OpenSSH or PKCS#8 format.

How do I use the 1Password SSH agent?

Turn on Use the SSH Agent under Settings, Developer in the desktop app. On Mac and Linux, add an IdentityAgent line pointing at 1Password's socket to your ~/.ssh/config. On Windows, disable the built-in OpenSSH Authentication Agent service so 1Password can take over its pipe. Then add your public key to GitHub, GitLab or your server.

Why do I get too many authentication failures with 1Password SSH?

Most SSH servers try at most six keys per connection by default. If 1Password offers more than six, the right one may never be tried. Fix it with an agent config file that lists only the keys you need, or with an IdentityFile line pointing at a public key per host in your SSH config.

Can I sign Git commits with 1Password SSH keys?

Yes, with Git 2.34 or later. Open the key in the desktop app, choose Configure Commit Signing and let it edit your .gitconfig, or copy the snippet. Then register the same key on GitHub as a Signing key, or on GitLab with usage type Signing or Authentication and Signing.

Does the 1Password SSH agent work on Linux?

Yes, with the regular desktop app. The docs warn that the agent does not work with Flatpak or Snap Store installations of 1Password, so install from 1Password's own packages. The socket lives at ~/.1password/agent.sock, and you point SSH at it with an IdentityAgent line.

Is it safe to keep SSH keys in a password manager?

It moves the risk rather than removing it. Keys stop living as files that any process can read, and every new app has to be approved. In exchange, your 1Password account becomes the key to everything, so protect it with a strong password and two-factor sign-in. The docs say keys never leave 1Password when the agent signs.

Sources

Every fact above comes from these pages. Prices change, so each one carries the date we read it.

  1. 1Password docs: SSH and Git overview, checked 3 Dec 2026
  2. 1Password docs: Get started with SSH, checked 3 Dec 2026
  3. 1Password docs: Manage SSH keys, checked 3 Dec 2026
  4. 1Password docs: SSH agent config file, checked 3 Dec 2026
  5. 1Password docs: SSH agent authorization, checked 3 Dec 2026
  6. 1Password docs: Sign Git commits with SSH, checked 3 Dec 2026
  7. 1Password pricing, checked 3 Dec 2026