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]
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]
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]
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]
https://amazon.midrange.com
References
Visible links
1.
http://www-01.ibm.com/support/docview.wss?uid=nas8N1012710
2.
https://lists.midrange.com/mailman/listinfo/midrange-l
3.
https://archive.midrange.com/midrange-l
4.
https://amazon.midrange.com/
As an Amazon Associate we earn from qualifying purchases.