![]() |
|
"be consistent" | |
PerlMonks |
Re: How to incorporate Expect in Perl Script? OR Pass the password via perl script?by Corion (Patriarch) |
on Jul 12, 2022 at 15:16 UTC ( #11145453=note: print w/replies, xml ) | Need Help?? |
Consider using a (passwordless) SSH key to store the access credentials for the remote machine. Your expect call likely fails because expect or ssh wants a (pseudo-)terminal connected to do their stuff.
In Section
Seekers of Perl Wisdom
|
|