Yeah, much better solution.
     ----- Original message -----
     From: "Diego E. KESSELMAN" <diegokesselman@xxxxxxxxx>
     Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
     To: midrange-l@xxxxxxxxxxxx
     Cc:
     Subject: Re: Using ssh and scp from QShell and/or PASE?
     Date: Wed, Nov 28, 2018 1:59 PM
     Kevin,
     I use "lftp" when we need user/password ...
     On 28/11/18 11:41, Kevin Adler wrote:
     >     You are correct, though it's pretty hacky. I usually don't bring
     it up as
     >     a first course of action when there are better mechanisms to use.
     >
     >
     >
     >       ----- Original message -----
     >       From: Diego Kesselman <diegokesselman@xxxxxxxxx>
     >       Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
     >       To: midrange-l@xxxxxxxxxxxx
     >       Cc:
     >       Subject: Re: Using ssh and scp from QShell and/or PASE?
     >       Date: Tue, Nov 20, 2018 1:08 PM
     >
     >       In fact... there's a way to send password using SFTP :
     >
     >
     [1][1]
https://www-01.ibm.com/support/docview.wss?uid=nas8N1022278
     >
     >       El 20/11/18 a las 13:04, Kevin Adler escribió:
     >       >     scp and sftp do not support password or otherwise
     interactive
     >       operation
     >       >     from QSH or QP2TERM - you must use public-key
     authentication (it
     >       does work
     >       >     if you call them from SSH).  Here's a doc on setting up
     public
     >       keys:
     >       >
     [1][2][2]
http://www-01.ibm.com/support/docview.wss?uid=nas8N1012710
     >       >
     >       >     For the host key verification, I've posted a few times on
     how to
     >       set this
     >       >     up non-interactively if you search the archive.
     >       >
     >       >       ----- Original message -----
     >       >       From: "James H. H. Lampert" <jamesl@xxxxxxxxxxxxxxxxx>
     >       >       Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
     >       >       To: Midrange Systems Technical Discussion
     >       <midrange-l@xxxxxxxxxxxx>
     >       >       Cc:
     >       >       Subject: Using ssh and scp from QShell and/or PASE?
     >       >       Date: Tue, Nov 20, 2018 12:52 PM
     >       >
     >       >       Does anybody here have any experience using ssh and/or
     scp from
     >       QShell
     >       >       and/or PASE?
     >       >
     >       >       If I sign on to one of our Google Compute Linux
     instances, and I
     >       do "scp
     >       >       foo.txt <user>@<domain>:foo.txt" to connect to our
     web/FTP
     >       server, it
     >       >       works just fine.
     >       >
     >       >       If I sign on to a V7 box, and go to QShell and do it, I
     get (at
     >       best)
     >       >       > Permission denied, please try again.
     >       >       > Permission denied, please try again.
     >       >       > Permission denied
     (publickey,password,keyboard-interactive).
     >       >       > lost connection
     >       >       and at worst,
     >       >       > Host key verification failed.
     >       >       > lost connection
     >       >
     >       >       without even being asked for a password. And if I try to
     >       establish an
     >       >       ssh session, the best I can get is being asked for a
     password,
     >       and I
     >       >       still get, at best, "Permission denied, please try
     again."
     >       >
     >       >       --
     >       >       JHHL
     >       >       --
     >       >       This is the Midrange Systems Technical Discussion
     (MIDRANGE-L)
     >       mailing
     >       >       list
     >       >       To post a message email: MIDRANGE-L@xxxxxxxxxxxx
     >       >       To subscribe, unsubscribe, or change list options,
     >       >       visit:
     >       [2][3][3]
https://lists.midrange.com/mailman/listinfo/midrange-l
     >       >       or email: MIDRANGE-L-request@xxxxxxxxxxxx
     >       >       Before posting, please take a moment to review the
     archives
     >       >       at [3][4][4]
https://archive.midrange.com/midrange-l.
     >       >
     >       >       Please contact support@xxxxxxxxxxxx for any subscription
     related
     >       >       questions.
     >       >
     >       >       Help support midrange.com by shopping at amazon.com with
     our
     >       affiliate
     >       >       link: [4][5][5]
https://amazon.midrange.com
     >       >
     >       >
     >       >
     >       >
     >       > References
     >       >
     >       >     Visible links
     >       >     1.
     [6][6]
http://www-01.ibm.com/support/docview.wss?uid=nas8N1012710
     >       >     2.
     [7][7]
https://lists.midrange.com/mailman/listinfo/midrange-l
     >       >     3. [8][8]
https://archive.midrange.com/midrange-l
     >       >     4. [9][9]
https://amazon.midrange.com/
     >       --
     >       This is the Midrange Systems Technical Discussion (MIDRANGE-L)
     mailing
     >       list
     >       To post a message email: MIDRANGE-L@xxxxxxxxxxxx
     >       To subscribe, unsubscribe, or change list options,
     >       visit:
     [10][10]
https://lists.midrange.com/mailman/listinfo/midrange-l
     >       or email: MIDRANGE-L-request@xxxxxxxxxxxx
     >       Before posting, please take a moment to review the archives
     >       at [11][11]
https://archive.midrange.com/midrange-l.
     >
     >       Please contact support@xxxxxxxxxxxx for any subscription related
     >       questions.
     >
     >       Help support midrange.com by shopping at amazon.com with our
     affiliate
     >       link: [12][12]
https://amazon.midrange.com
     >
     >
     >
     >
     > References
     >
     >     Visible links
     >     1. [13]
https://www-01.ibm.com/support/docview.wss?uid=nas8N1022278
     >     2. [14]
http://www-01.ibm.com/support/docview.wss?uid=nas8N1012710
     >     3. [15]
https://lists.midrange.com/mailman/listinfo/midrange-l
     >     4. [16]
https://archive.midrange.com/midrange-l
     >     5. [17]
https://amazon.midrange.com/
     >     6. [18]
http://www-01.ibm.com/support/docview.wss?uid=nas8N1012710
     >     7. [19]
https://lists.midrange.com/mailman/listinfo/midrange-l
     >     8. [20]
https://archive.midrange.com/midrange-l
     >     9. [21]
https://amazon.midrange.com/
     >    10. [22]
https://lists.midrange.com/mailman/listinfo/midrange-l
     >    11. [23]
https://archive.midrange.com/midrange-l
     >    12. [24]
https://amazon.midrange.com/
     --
     This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
     list
     To post a message email: MIDRANGE-L@xxxxxxxxxxxx
     To subscribe, unsubscribe, or change list options,
     visit: [25]
https://lists.midrange.com/mailman/listinfo/midrange-l
     or email: MIDRANGE-L-request@xxxxxxxxxxxx
     Before posting, please take a moment to review the archives
     at [26]
https://archive.midrange.com/midrange-l.
     Please contact support@xxxxxxxxxxxx for any subscription related
     questions.
     Help support midrange.com by shopping at amazon.com with our affiliate
     link: [27]
https://amazon.midrange.com
References
   Visible links
   1. 
https://www-01.ibm.com/support/docview.wss?uid=nas8N1022278
   2. 
http://www-01.ibm.com/support/docview.wss?uid=nas8N1012710
   3. 
https://lists.midrange.com/mailman/listinfo/midrange-l
   4. 
https://archive.midrange.com/midrange-l
   5. 
https://amazon.midrange.com/
   6. 
http://www-01.ibm.com/support/docview.wss?uid=nas8N1012710
   7. 
https://lists.midrange.com/mailman/listinfo/midrange-l
   8. 
https://archive.midrange.com/midrange-l
   9. 
https://amazon.midrange.com/
  10. 
https://lists.midrange.com/mailman/listinfo/midrange-l
  11. 
https://archive.midrange.com/midrange-l
  12. 
https://amazon.midrange.com/
  13. 
https://www-01.ibm.com/support/docview.wss?uid=nas8N1022278
  14. 
http://www-01.ibm.com/support/docview.wss?uid=nas8N1012710
  15. 
https://lists.midrange.com/mailman/listinfo/midrange-l
  16. 
https://archive.midrange.com/midrange-l
  17. 
https://amazon.midrange.com/
  18. 
http://www-01.ibm.com/support/docview.wss?uid=nas8N1012710
  19. 
https://lists.midrange.com/mailman/listinfo/midrange-l
  20. 
https://archive.midrange.com/midrange-l
  21. 
https://amazon.midrange.com/
  22. 
https://lists.midrange.com/mailman/listinfo/midrange-l
  23. 
https://archive.midrange.com/midrange-l
  24. 
https://amazon.midrange.com/
  25. 
https://lists.midrange.com/mailman/listinfo/midrange-l
  26. 
https://archive.midrange.com/midrange-l
  27. 
https://amazon.midrange.com/
 
As an Amazon Associate we earn from qualifying purchases.