I personally use the pam ssh agent module for this, that way you can use agent forwarding with sudo.
I personally use the pam ssh agent module for this, that way you can use agent forwarding with sudo.