Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

eddieace's avatar

Forge SSH & public keys where is these stored

I have been thinking for a while where and how Forge manages the public keys. I really love this feature which makes access control very easy. But, it also makes me think about how this actually works.

My guess would be that forge enables SSH authentication when it installs & configures the server. When a new public key is installed in the GUI, it ssh into the server into some folder and adds the input to some kind of file, or multiple files.

Does anyone have an idea of where forge stores the public keys?

0 likes
2 replies
eddieace's avatar

That is correct! Thanks :)

forge@MyServer:~/.ssh$ ls
authorized_keys  id_rsa  id_rsa.pub  known_hosts
forge@MyServer:~/.ssh$ pwd
/home/forge/.ssh

Please or to participate in this conversation.