On Linux when using dsa keys I establish passwordless login with the command
ssh-copy-id -i .ssh/id_dsa.pub [email protected]
This prompts the user for user's password on target.host. My script knows the password and the user shall not be bothered, how can I do this?