I am connecting from a UNIX server to a third party server (EFT on client side). EFT supports only dual authentication.
So client has provided us the userid and password and we have shared the public key to them.
My shell script has to push and pull the files from third party.
I don't have expect
, lftp
, curl
, sshpass
in my server, cannot install then either.
How do I pass the password for the sftp
command in the shell script to connect to remote server?
Now I am keying the password manually for the file transfer to happen, which is working.
But need to automate this.
Please advise.