On 03/02/18 09:40, Chris Green wrote:
I have a script that runs ssh several times to do some manipulations on a remote system and also runs rsync to the same remote system two or three times.
Is there some way to get a single entry of the ssh password to work for all the ssh and rsync calls?
Do most of the work in a script on the remote machine, which is launched by one ssh from the local machine. If the script would require different actions depending on something, then use an initial rsync (using keys to login) to transfer the configuration data.