in reply to Re^4: Syncing Servers using Perlin thread Syncing Servers using Perl
Anyway, expect can be used to automate interaction with programs that read directly from the terminal (as ssh-askpass does, I think).