myITforum and Windows IT Pro Forums

 Using password with Open SSH

Author Message
Ron

  • Total Posts : 6
  • Scores: 0
  • Reward points : 9090
  • Joined: 11/2/2015
  • Status: offline
Using password with Open SSH Wednesday, September 20, 2017 4:41 PM (permalink)
0
We have a request to use a password for our Open SSH using sFTP.
I am tryin g to determine how we would automate this on the iSeries.
Currently we are using keys and don't use a password,  and we execute the script as follows:
/tmp/myscripts.sftp username@testsites.net
The script just shows the command as follows:
put /Usrout03/ftpsend send/newfile
 
I am not sure where we would put the password to automate.  Any help is appreciated.
 
#1
    Online Bookmarks Sharing: Share/Bookmark

    Jump to:

    Current active users

    There are 0 members and 3 guests.

    Icon Legend and Permission

    • New Messages
    • No New Messages
    • Hot Topic w/ New Messages
    • Hot Topic w/o New Messages
    • Locked w/ New Messages
    • Locked w/o New Messages
    • Read Message
    • Post New Thread
    • Reply to message
    • Post New Poll
    • Submit Vote
    • Post reward post
    • Delete my own posts
    • Delete my own threads
    • Rate post

    2000-2017 ASPPlayground.NET Forum Version 3.9