News for hackers. Stuff that matters.
Re:Guide to User Data Security by yoo1I on Wednesday July 06, 2016 @07:46PM (#12046637)
> If you disable passwords, then you need to use password-less sudo.

unfortunately that's true. But it shouldn't have to be. There is a libpam-ssh-agent-auth which makes use of a forwarded ssh-agent socket to authenticate to whenever sudo needs it, which means that you have to re-authenticate your ssh-key locally.

It works, but it never really took of, and tbh I wouldn't trust it's security. But the authentication flow is something I would want.

[0] https://sourceforge.net/projects/pamsshagentauth/

Re:Guide to User Data Security by jvoorhis on Wednesday July 06, 2016 @08:56PM (#12046878)
Search for "ssh agent forwarding attack" or similar.
Re:Guide to User Data Security by yoo1I on Wednesday July 06, 2016 @10:55PM (#12047241)
I am glad you specified "or similar"

http://imgur.com/768xaL3

But you're correct, an attacker on the remote system with access to the socket (i.e. usually root) can steal your identity.