Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

insert password in sftp

RobeenJan 11 2018 — edited Jan 15 2018

Red Hat Linux 7.2

Hi,

I have a script

pastedImage_0.png

Can anyone please advise how I can insert the password so that it will capture the password when prompted?

pastedImage_1.png

As shown above, instead of entering the password manually, it will capture the password from a variable so that I can bypass Key authentication.

Regards,

Joe

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 12 2018
Added on Jan 11 2018
4 comments
1,188 views