News for hackers. Stuff that matters.
Re:How to SSH Properly by ddevault on Wednesday April 01, 2020 @06:12PM (#22754051)
Good insight. You should definitely be careful with forwarding.
Re:How to SSH Properly by jlgaddis on Wednesday April 01, 2020 @10:14PM (#22755637)
Yes, be careful when using ForwardAgent and, more importantly, avoid using it altogether unless you absolutely need to!

Most "use cases" I've come across could have been solved "better" by simply using ProxyCommand instead. That was apparently too hard, though, so use of agent forwarding continued.

Since the introduction of ProxyJump a while back, however, it's now even easier to avoid using agent forwarding in most -- but not all -- cases.

So yes, be careful when using agent forwarding but, more importantly, as much as possible, just avoid using it entirely unless you absolutely must!

Re:How to SSH Properly by manuel_w on Saturday April 04, 2020 @06:59AM (#22777544)
Sometimes I log into a machine and would like to ssh-clone a git repository there using the private key I've got on my local machine. Is there a way around forwarding my ssh-agent in this case?