I want to make passwordless connection with help of bash scripting. The requirement is that user has to just provide password.
Point to be considered:
1) There is no generated public/private key in the server (if using
ssh-keygen
in shell, then all requested prompts must be answered via script)2)
ssh-copy-id
command can ask password for making passwordless connection.