I recently had to ssh from my computer into another system, become root, and from there create a tgz file on a 3rd system. The authentication had to come from my computer.
From: https://serverfault.com/a/564462
sudo --preserve-env=SSH_AUTH_SOCK
will do the trick, at least when using it to become root.
No comments:
Post a Comment