Remote code execution in OpenSSH’s forwarded SSH-agent
What's a better solution if you want to be able to SSH across multiple machines? Do you need to always close the current connection to get back to localhost prior to a fresh SSH?<p>e.g. how would I ssh into foo, and then later into bar, or perhaps pull some code from github onto foo that is authenticated by my key?<p><pre><code>    localhost -> foo -> bar
    localhost -> foo -> github access
</code></pre>
It seems like the answer is either: a) ssh -A, or b) install my private key on foo.