ssh/scp without password script
We would often use ssh/scp to do file sync between two servers. Here is a script which might help you to setup ssh/scp without passwd.
First expect must installed on your target linux machine.
Here you refer to the scpsetup tool: