This comes back using QP2TERM:
usage: sftp [-1246aCfpqrv] [-B buffer_size] [-b batchfile] [-c
cipher]
[-D sftp_server_path] [-F ssh_config] [-i identity_file] [-l
limit]
[-o ssh_option] [-P port] [-R num_requests] [-S
program]
[-s subsystem | sftp_server]
host
sftp [user@]host[:file
...]
sftp
[user@]host[:dir[/]]
sftp -b batchfile
[user@]host
Sent: Friday, June 18, 2021 at 9:38 AM
From: stefan@xxxxxxxxxx
To: "'IBMi Open Source Roundtable'" <opensource@xxxxxxxxxxxxxxxxxx>
Subject: Re: [IBMiOSS] sFTP File Transfer Failure
Again, running thru qp2term, when you get the sftp> prompt, if you type in
"version" and press enter - do you get anything readable back?
Best regards
Stefan
--
No trees were killed in the sending of this message, but a large number of
electrons were terribly upset.
Stefan Tageson
+46 732 369934
stefan@xxxxxxxxxx
-----Original Message-----
From: OpenSource <opensource-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
Michael Fulmer
Sent: Friday, June 18, 2021 3:37 PM
To: opensource@xxxxxxxxxxxxxxxxxx
Subject: Re: [IBMiOSS] sFTP File Transfer Failure
Same result as the script.
Sent: Friday, June 18, 2021 at 9:31 AM
From: stefan@xxxxxxxxxx
To: "'IBMi Open Source Roundtable'" <opensource@xxxxxxxxxxxxxxxxxx>
Subject: Re: [IBMiOSS] sFTP File Transfer Failure
Hi,
Based on your debug-file it looks like that the connection is accepted and
authorized using keys.
What happens if you try to run this interactively using qp2term ( using
the same user as the script is using )?
Best regards
Stefan
--
No trees were killed in the sending of this message, but a large number of
electrons were terribly upset.
Stefan Tageson
+46 732 369934
stefan@xxxxxxxxxx
-----Original Message-----
From: OpenSource <opensource-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
Michael Fulmer
Sent: Friday, June 18, 2021 3:18 PM
To: opensource@xxxxxxxxxxxxxxxxxx
Subject: [IBMiOSS] sFTP File Transfer Failure
put /home/CATOOSA/filename.txt
quit
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: [1][1]
https://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [2][2]
https://archive.midrange.com/opensource.
Help support midrange.com by shopping at amazon.com with our affiliate
link: [3][3]
https://amazon.midrange.com
References
Visible links
1. [4]
https://lists.midrange.com/mailman/listinfo/opensource
2. [5]
https://archive.midrange.com/opensource
3. [6]
https://amazon.midrange.com/
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list To post
a message email: OpenSource@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: [7]
https://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
[8]
https://archive.midrange.com/opensource.
Help support midrange.com by shopping at amazon.com with our affiliate
link: [9]
https://amazon.midrange.com
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: [10]
https://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [11]
https://archive.midrange.com/opensource.
Help support midrange.com by shopping at amazon.com with our affiliate
link: [12]
https://amazon.midrange.com
References
Visible links
1.
https://lists.midrange.com/mailman/listinfo/opensource
2.
https://archive.midrange.com/opensource
3.
https://amazon.midrange.com/
4.
https://lists.midrange.com/mailman/listinfo/opensource
5.
https://archive.midrange.com/opensource
6.
https://amazon.midrange.com/
7.
https://lists.midrange.com/mailman/listinfo/opensource
8.
https://archive.midrange.com/opensource
9.
https://amazon.midrange.com/
10.
https://lists.midrange.com/mailman/listinfo/opensource
11.
https://archive.midrange.com/opensource
12.
https://amazon.midrange.com/
As an Amazon Associate we earn from qualifying purchases.