agent forwarding and sudores

Author: Stephan  |  Category: Linux, Netzwerk

for a correct agent forwarding in a sudoers environment you need two prerequesites

1.) In /etc/sudoers you need
Defaults env_keep = “SSH_AUTH_SOCK”

2.) DON’T call sudoers this way
“sudo su -“