I have a script that is doing
sftp some files from one server to another, like inside the script
script.ksh I have the below lines;
sftp user@ip_address << EOF cd path put file1 bye EOF
When I am running the script like;
It is asking for password like below;
Here I have to pass the password manually as this is not a password less connection.
I want to make this script automated, that when the
Password prompt will occur, then it should take the password on its own. Can anyone have any suggestion please.