×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
This is my first attempt at sFTP on the IBM i The System is running OS
V7R3M0. I've searched the Midrange Archive and found nothing helpful.
My Client has been ask to send .txt files to their bank via sFTP. I've
setup ssh and sFTP to the best of my knowledge. I created a Public Key and
exchanged with the bank. The bank has verified that the connection is
established. My problem lies in the transfer of the data file.
It's just a simple PUT statement run from a script using QSHONI. Which
I've successfully used in the past to run cURL scripts.
put /home/CATOOSA/filename.txt
quit
The problem may be in the following command, although I find very little
documentations on the purpose of SSH_FXP_REALPATH.
The bank says the User's default directory exists and the User Profile has
authority to use it. I'm also told that directory is the User's Default so
I don't have to execute a Change Directory.
Any comments/suggestions would be greatly appreciated.
The Complete Debug Log is shown below. The URL and IP have been changed to
protect the innocent.
OpenSSH_6.9p1, OpenSSL 1.0.2p 14 Aug 2018
debug1: Reading configuration data
/QOpenSys/QIBM/ProdData/SC1/OpenSSH/etc/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to bankonline.com [1.1.1.1] port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file /home/CATOOSA/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/CATOOSA/.ssh/id_rsa-cert type -1
debug1: identity file /home/CATOOSA/.ssh/id_dsa type 2
debug1: key_load_public: No such file or directory
debug1: identity file /home/CATOOSA/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/CATOOSA/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/CATOOSA/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/CATOOSA/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/CATOOSA/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.9
debug1: Remote protocol version 2.0, remote software version
WS_FTP-SSH_8.6.1.1504
debug1: no match: WS_FTP-SSH_8.6.1.1504
debug2: fd 3 setting O_NONBLOCK
debug1: Authenticating to bankonline.com:22 as 'CATOOSA'
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.