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 7 of 38

otterley1 reply#
If this bothers you, it can be guarded against in your ssh config file:

  Host trusted-server
      HostName server.example.com
      ForwardAgent yes

  Host another-trusted-server
      HostName another.example.com
      ForwardAgent yes

  Host *
      ForwardAgent no
mbreese#
Isn’t that the default setting for `Host *`? That’s why you have explicitly turn it on for other hosts, right?