1Password and Bitwarden agents
Log in with SSH keys kept in 1Password or Bitwarden, so private keys never reach Harbor.
1Password and Bitwarden SSH agents
1Password and Bitwarden can keep your SSH keys and act as an SSH agent: they sign each login without the private key ever leaving the password manager. Harbor can use either one for hosts set to SSH agent and for agent forwarding.
Set it up
- Turn on the SSH agent in your password manager:
- 1Password: Settings › Developer › Use the SSH agent.
- Bitwarden (desktop app): Settings › Enable SSH agent.
- Add or import your SSH keys into the password manager.
- In Harbor, open Connectors › Keys & secure login and pick 1Password or Bitwarden. The panel shows whether the agent answers and lists the keys it offers, with their fingerprints.
- Click Use 1Password for logins (or Use Bitwarden for logins).
- Set your hosts’ authentication to SSH agent.
When you connect, the password manager may ask you to approve the use of the key.
Notes
- On Windows, both take over OpenSSH’s agent pipe, so turn off the OpenSSH Authentication Agent service if it’s running, and run only one of them at a time.
- To go back to your system’s agent (
ssh-agent, or the OpenSSH service on Windows), click Stop using 1Password (or Bitwarden) in the same panel. - Agent forwarding (Forward my SSH agent) forwards the agent you chose here. See Agent forwarding.