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 -“

One Response to “agent forwarding and sudores”

  1. stephan Says:

    sudo -E -s
    for 2.)

Leave a Reply