× 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.




Response:
Can you use passive mode with SFTP? I had the same issue with FTP where FileZilla worked and my script didn't.
It was fixed by coding the script to use passive mode. Bob


Question:
date: Mon, 15 Nov 2010 19:48:58 +0000
from: Scott Schollenberger <SSchollenberger@xxxxxxxxxxxxxxxxxx>
subject: SFTP from iSeries failes to connect while Filezilla works
fine

We have a customer who must transfer some exported data to an outside vendor.
We have set up OpenSSH (5733-SC1) on the customer's server (V5R4).
The outside vendor is using CoreFTP on a Windows server.

We have been going round and round without any success in getting the SFTP to connect.
As this was to be a batch transfer, we generated public key for the user on the IBM server and provided that to the vendor; they say they have installed it.
We used SSH to obtain the vendor's server key and get that into the known_hosts file.

I followed Scott Klement's article: http://systeminetwork.com/article/ssh-scp-and-sftp-tools-openssh

When we run the batch transfer program (ILE RPG spawning SFTP), we get the following errors:

Permission denied, please try again.
Permission denied, please try again.
Received disconnect from X.X.X.X: 2: Too many logon attempts.
Connection closed

(I removed the IP address from that 3rd line.)

The outside vendor wanted us to try without a key. He has removed the key from his CoreFTP server.
When I try an interactive SFTP session from a PASE Terminal (QP2TERM), we get the same errors.

However, FileZilla from my PC using ServerType of SFTP works.

I'd appreciate any help as both the customer and vendor are growing impatient.

Thanks, Scott

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.