Help for this page
# Run your perl script inside of an ssh-agent(1) context $ENV{SSH_ASKPASS} = "/path/to/script/that/echos/password"; system("ssh-add id_filename </dev/null"); # Continue with your process