I am trying to sync two servers using a perl script. I want this script to run without intervention (so I can set it up as a nightly cron task).
The sysadmin has already poked holes between the two machines so VPN is not required (the machines are not in the same network). And so currently I am required to put in a password to do an scp between them.
My question for the perl monks, is how to wait for Server1 to return a password request, have the perl script on Client1 return the password?
I have tried varriations on <STDIN> but because the stdin is coming from the shell, not the user, I haven't been able to read it.
In reply to Syncing Servers using Perl by jperlq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |