Why when I run eval $(keychain --quiet ~/.ssh/id_rsa)
from cli it works, but if I try to do same from the script it doesn't work and $SSH_AUTH variables are not present?
Asked
Active
Viewed 18 times
0
$SSH_AUTH
is empty once the script has terminated? If so, then I'm not surprised. A script can not modify the environment of its parent shell. – Kusalananda Apr 10 '20 at 21:39$SSH_AUTH
variables are not present -- I read the whole question, it is not there. – ctrl-alt-delor Apr 10 '20 at 21:57