env SSH_AUTH_SOCK=$SSH_AUTH_SOCK inner_script.sh
Why are you doing this instead of just exporting the variable (export SSH_AUTH_SOCK)? Which shell are you using?
In reply to Re: How to talk to ssh-agent from inside a perl script
by salva
in thread How to talk to ssh-agent from inside a perl script
by tekka
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |