I need to write a script that runs several tasks against a remote
server via SSH & rsync. To be keep it simple, imagine just an rsync
followed by a command via SSH.
I don't want this to be passwordless - I want the script to require
the remote password before it runs. But I don't want to have to enter
it again until the script ends.
Is there a good way to do this?
--
Mark Rogers // More Solutions Ltd (Peterborough Office) // 0844 251 1450
Registered in England (0456 0902) 21 Drakes Mews, Milton Keynes, MK8 0ER