ssh-agent

Keeping access to SSH Agent using sudo

When sudo into another user, sudo will strip the environment for security reasons. When trying to do root actions that require ssh keys, all access has been lost.

For the root user, these can be kept without caveats because they have access to everything anyway :P So we add the following to /etc/sudoers using visudo (do not etc the /etc/sudoers file directly).

Irradicate Gnome Keyring SSH agent

Why? Because it doesn't work with ed25519 keys and utterly takes over the ability run the real one globally.

Subscribe to RSS - ssh-agent