[CentOS] Source keychain credentials in Perl?

Sean Carolan scarolan at gmail.com
Wed Mar 5 16:15:40 UTC 2008


>  The variables are not exported when I call Perl.  This is what I am
>  trying to do.  How do I get those variables to be available to the
>  bash "system" commands within the script?

Just so it is clear what I am trying to do, there are some scp and ssh
commands like:

system ("/usr/bin/scp /tmp/filename server1:/tmp/filename");

we want the scp command to use the running ssh-agent's credentials to
log onto the remote server.



More information about the CentOS mailing list