Re: running scp or rsync from a script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> If you don't want to do that, then you might look at Expect, which is
> another scripting language.  It allows you to program the password into
> the script file in a pseudo-interactive manner.  http://expect.nist.gov/

I know nothing about Expect, but I found a module on CPAN called
Net::SCP::Expect which is a wrapper for scp that allows passwords via
Expect.  It works great.

Thanks,
Chris



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux