in reply to Re^4: Syncing Servers using Perl
in thread Syncing Servers using Perl

I don't understand that - why is it asking for a password for a file that's not present?

Anyway, expect can be used to automate interaction with programs that read directly from the terminal (as ssh-askpass does, I think).