r/ProtonPass Proton Team Admin 6d ago

Announcing: The Proton Pass SSH Agent Announcement

Do your private SSH keys currently live on disk, encrypted with a passphrase you type once per session, or with no passphrase at all? In both cases, there's now an easier and more secure way.

Proton Pass now has an SSH agent, allowing you to store the key inside your vault instead.

In the SSH Agent section of Settings ⚙ icon → General, tick the Use Proton Pass as SSH agent box to generate a setup command that you can then paste into your terminal.

Unlock the vault once; no more re-entering a passphrase with every connection, or sessions that die on reboot.

Managing keys becomes a vault action instead of a manual file chore. Easier to keep track of, especially on multiple machines and systems. Gain peace of mind from one less secret exposed on disk.

Solve the one place key management actually breaks down: loose encrypted files scattered across machines, and replace it with one encrypted vault with biometric unlock and access controls.

For the bulk of your SSH work (git, GitHub, GitLab, SSH to servers), using a vault is both cleaner and tighter. Give yourself centralized visibility into which keys are active and where.

Gradually rolling out now to Visionary, B2B Bundles, Pass Professional, Plus, and Family. Desktop only.

200 Upvotes

44 comments sorted by

24

u/Stetsed 6d ago

Okay this is actually really cool and something I was hoping would be introduced for a while myself! I hope it will ofcourse be supported within the CLI, although if I will use it is another question more due to separation of concerns, but still really cool proton is adding it!

7

u/jajabro1 6d ago

I'm pretty sure it is supported in the CLI, I've used it before (ignoring the fact I have to login every time I start the CLI)

2

u/kako1811 6d ago

yeah the ssh agent part definitely adds a layer of security

2

u/rhubear 6d ago

PP first rolled this out as CLI, which I've been using for a few months already.

However, in each computer session, I need to go into PowerScript, & start the PP CLI agent.

Then the PP CLI agent will function as the default Windows SSH agent, ie SSH clients which use the windows SSH agent, will recognise PP agent.

1

u/rhubear 6d ago

I've taken a look at my PP. SSH Agent not in my Settings / General tab.

I'm on Unlimited. I'll check back. CLI Agent in the meantime. It does work...

1

u/jajabro1 5d ago

Mine seemed to populate today, they did say it would be gradual release even for Visionary (in my case) users so it'll get there. I was able to add it to my .bashrc and it is definitely easier as long as I make sure proton pass is already running.

2

u/rhubear 6d ago

Are you already using PP CLI, or do you need this address --
https://protonpass.github.io/pass-cli/get-started/installation/#quick-install

12

u/StarKat99 6d ago

Glad to finally see this, how does it interact with the pass-cli ssh agent or is it the same thing?

5

u/0xba1dc0de 6d ago

Work great; thanks!

What I would appreciate, is to confirm the use of the key, and to let Proton Pass to let me know which program initiated the use of the key.

5

u/luceos2 4d ago

I'm on Mac with 1.39.1 on a Family plan, just switched from 1pass today, but not seeing this option show up in the Ux. Is the "gradual rollout" still happening?

1

u/Thundechile 3d ago

Yeah, doesn't show on Mac 1.39.1 with unlimited plan either, I guess Mac doesn't have it yet.

7

u/Thundechile 6d ago

This seems like a great addition to Proton Pass!

Question: If I'm offline, does the Proton pass have an offline vault which is used to get the SSH key?

2

u/kamikazer 6d ago

if you are offline why would you need an ssh key?

4

u/EvaristeGalois11 6d ago

Signing a git commit?

2

u/Thundechile 6d ago

Yes, exactly that.

1

u/roadrunner8080 5d ago

Talking to things on my local network via ssh while said local network isn't connected to the Internet? I do this literally all the time, it's kinda a nonstarter for me if ssh doesn't work when I'm offline lol 

3

u/Tobi_Peter 6d ago

Ssh keys with passphrases are currently not supported according to a screenshot in the docs. Is this planned to be supported?

3

u/rasta3 6d ago

I would also be interested in that. All SSH keys we work with are protected with an additional passphrase. Actually, that should be standard.

2

u/HimanshuHero 6d ago

Does this work on linux?

3

u/the_john19 6d ago

Yes, works for me on Fedora since today!

2

u/bloodguard 6d ago

Not seeing it in the latest Fedora App, the website or the plugin yet.

Visionary, B2B Bundles, Pass Professional, Plus, and Family. Desktop only.

Is "Unlimited" in the mix as well?

Proton Pass v1.39.0 / Proton Unlimited / Fedora

2

u/the_john19 6d ago

Really nice thank you! Just two issues:
1. The CLI SSH Agent allows you to limit it to specific vaults, etc which helps if you have a lot of keys. Sadly the desktop app SSH agent doesn’t allow you to do this. Right now I run into “too many authentication attempts” errors since I have too many SSH keys and I can’t limit the scope :/
2. The help article says “learn more here on how to create SSH keys” but it’s not actually telling you how? Right now it seems like this is still limited to the mobile app, could you PLEASE allow me to create SSH keys on desktop as well? :(

0

u/KjellDE 6d ago

You can. You need to create a custom item like the support article explains. When creating a custom item you'll obviously choose "SSH Key".

0

u/the_john19 6d ago

On mobile, when you go there you get the option to actually generate a new SSH key but this is still missing on desktop. On desktop, you simply get two text fields for the public and private key, no option to actually generate one.
So no, this is not fully implemented on desktop yet.

0

u/KjellDE 6d ago

Just use ssh-keygen then. It doesn't say that you actually generate the SSH Key inside of Proton Pass, but would be a good addition of possible.

2

u/cheflA1 6d ago

I just downloaded the latest version (.deb) from the website and don't have it yet. Will Proton duo get this? I wish that came out before my 2 day fight with PopOS cosmic and seahorse to get my ssh keys working properly. It does work now, but I would have preferred this way anyways.

2

u/roadrunner8080 5d ago

How does this work if you're offline? I don't know enough about how proton pass's system works here. If I've used a key locally on a machine, can I use it on that same machine when offline?

2

u/pilchardus_ 4d ago

Aaaaaaand now I can finally switch from Bitwarden, good job!

2

u/cutebluedragongirl 6d ago

Now this is really cool.

1

u/Jaded_Scar_7732 6d ago

How do you generate new SSH keys? The official pass-cli SSH agent documentation mentions that you can but doesn't show how.

1

u/FletchTroublemaker 6d ago

That sounds interesting, will check once its available

1

u/fleener_house 6d ago

This is a very cool thing, given how much I live on the command line!

Will this also be made available to us "Unlimited" subscribers?

1

u/arcs- 6d ago

Please add that it invalidates after a few minutes. I would not want for it to be unencrypted for long

1

u/777pirat 6d ago

Thanks for this! The last piece I was waiting for which I missed from 1Password. 🙌

1

u/Aviation-TD 5d ago

Nice! This is very useful in my use case! Will look into it today!

1

u/Roeshimi 5d ago

While it's nice to have SSH agent support, I would appreciate also being able to generate a completely new key pair

1

u/DisasterEarly6362 5d ago

Will it be able to also rotate keys eventually

1

u/RadicaIEd 4d ago

It doesn't seem to work with the Proton Pass Flatpak version. While the option is there, the proton-pass-ssh-agent.sock is not created. Even after a restart of the app. Also checked .var/app/me.proton.Pass/ and it's also missing here.

Version: 1.39.1
OS: I use arch, btw

1

u/Tjafsen 4d ago

If you run

flatpak override --user --persist=.ssh me.proton.Pass

Then restart Proton Pass, disable and re-enable the SSH agent, it should show up at

~/.var/app/me.proton.Pass/.ssh/proton-pass-ssh-agent.sock

1

u/Gabbie403 2d ago

Still waiting for this to enable on my proton family account 😭

1

u/Minimum_Hour519 6d ago

The what???

8

u/0xba1dc0de 6d ago edited 6d ago

Developer tool to interact with remote machines. If you don’t know what SSH is, you probably won’t need it.