Re:SSH tunnelling for fun and profit: AutoSSH
by daurnimator on Wednesday January 20, 2016 @10:31PM
(#10943173)
(copying from https://news.ycombinator.com/item?id=10943166)
> The problem with ssh-agent defaults is that someone with root on the server you're SSH'd into can use your SSH private key (which is on your local machine).
> ssh-agent is like temporarily uploading your private key to each remote server logged into.
That is very different (and much more common) than an attacker having root on your local machine.
Yes, root can also simply `su - user` and then do all stuff you do.
But you should also not put YOUR private keys on a system that has a root user who should not have access YOUR keys.