I have a shell script which contains following command to copy test.dat file from remote server to my current directory :
scp remote_user_id@remote_server_name:<filepath>/test.dat .
upon executing the script , It asks for password which I have to enter manually. I do not have access to install or use sshpass or expect or even setting up ssh. How can I pass this password in the shell script ?