Re:Remote Code Execution in OpenSSH’s forwarded SSH-agent
by gunapologist99 on Wednesday July 19, 2023 @04:28PM
(#36792732)
Just generate a new keypair there on your bounce box then. Don't do -A because this RCE means that not only do you lose your keys, but you lose your laptop, too!
[ Parent
| on HN ]
Re:Remote Code Execution in OpenSSH’s forwarded SSH-agent
by lxgr on Wednesday July 19, 2023 @07:02PM
(#36794721)
What if you don’t trust the box enough to store a private key, though?
Re:Remote Code Execution in OpenSSH’s forwarded SSH-agent
by themoonisachees on Thursday July 20, 2023 @05:28AM
(#36798417)
A box you can't trust to hold your keys could just as easily put a ssh -A command in your bashrc and use your agent to perform stuff on any servers your key is accepted on.
Re:Remote Code Execution in OpenSSH’s forwarded SSH-agent
by pritambaral on Thursday July 20, 2023 @09:22AM
(#36800053)
Not if your agent supports and is configured to confirm each use. See ssh-add -c.