News for hackers. Stuff that matters.
Re:SSH key and passwordless login basics for developers by jackalope on Thursday October 25, 2012 @08:25AM (#4697321)
Agent forwarding is tremendously useful, but you should not forward your agent to systems you don't control or can't trust. If you do, you risk having your agent hijacked and used to connect to any system where you have public key authentication enabled.

The author implies that you need to enable agent forwarding to do a git pull from GitHub, but that would be incredibly dangerous. This can't possibly be true, can it? If so, you might as well hand them your private key and passphrase.

Re:SSH key and passwordless login basics for developers by munificence on Thursday October 25, 2012 @07:11PM (#4700051)
From the ssh man page:

Agent forwarding should be enabled with caution. Users with the ability to bypass file permissions on the remote host (for the agent’s UNIX-domain socket) can access the local agent through the forwarded connection. An attacker cannot obtain key material from the agent, however they can perform operations on the keys that enable them to authenticate using the identities loaded into the agent.

Re:SSH key and passwordless login basics for developers by jackalope on Thursday October 25, 2012 @08:47PM (#4700332)
Sorry, I didn't mean to suggest that they could obtain the key, just that hijacking the agent was equally dangerous (provided they know where to use it).
Re:SSH key and passwordless login basics for developers by viraptor on Thursday October 25, 2012 @11:24AM (#4697953)
You don't need it. github works just fine without forwarding.
Re:SSH key and passwordless login basics for developers by klj613-- on Thursday October 25, 2012 @05:19PM (#4699628)
you need agent forwarding to ssh into a server to do a git pull from _that_ server. e.g. a dev vm.