News for hackers. Stuff that matters.
Re:Remote Code Execution in OpenSSH’s forwarded SSH-agent by Arnavion on Wednesday July 19, 2023 @03:03PM (#36791554)
I'm not sure what relevance ssh-askpass has to what I wrote.
Re:Remote Code Execution in OpenSSH’s forwarded SSH-agent by GauntletWizard on Wednesday July 19, 2023 @05:15PM (#36793515)
Right, this recipe isn't well known.

`ssh-add -c` will cause your ssh agent to pop up with ssh-askpass every time it does an authentication. This is fiddly; You need to have configured your ssh-agent right, and there's a slightly different version to use keychains on macos that's equivalent.

Re:Remote Code Execution in OpenSSH’s forwarded SSH-agent by Arnavion on Wednesday July 19, 2023 @06:44PM (#36794536)
Once again, I'm not sure what relevance this has to the discussion.
Re:Remote Code Execution in OpenSSH’s forwarded SSH-agent by pritambaral on Thursday July 20, 2023 @05:48AM (#36798501)
Some people denounce all use of agent forwarding because, by default, ssh-agent doesn't confirm with the user before signing a request with the users private key. This means, if you ssh into a compromised/malicious host with your agent forwarded, malicious code on that machine can just silently ssh into other servers as you.

This trick has been used in the past by blackhats to escalate from a compromised CI environment to full production takeover.

GauntletWizard probably meant to respond to your parent in this thread.