Lurker News
The agent running on a remote machine can authenticate using your local SSH credentials.

That means it can push to your private repos on GitHub, for example.
Proof: https://github.com/openai/codex/pull/28131#discussion_r3410013180

Comments (80) 38 threads

Show all comments

Showing thread 6 of 38

carterschonwald3 replies#
this is a normal ssh feature meant to allow keys to be used while keeping keys local …

its actually a keystone of secure infrastructure setups, aka jump hosts.
granted its meant for human or scripted uses, as is everything else

krunck1 reply#
> keystone of secure infrastructure

But only when YOU choose where your SSH agent is accessible.

carterschonwald#
very true :)
hamburglar#
A normal ssh feature that a lot of people consider a really clever maneuver, but many highly locked down environments expressly forbid because it’s a liability.
minitech#
You don’t need to (and should not) forward your SSH agent just to set up a tunnel, especially with the default OpenSSH ssh-agent. It allows the intermediate host to decide what operations to do with your key(s). `ProxyJump` is a way safer default.