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



Hello,

Unfortunately, SSH will give the message "permission denied, please try again" any time something is wrong. It doesn't mean something specific.

It could mean:

1) Bad userid
2) Bad password
3) Untrusted digital key
4) User has restricted access, and you asked for something he's not allowed. (Such as an interactive login when only SFTP is allowed)
5) User is only allowed from restricted hosts, and yours isn't an allowed host.

I'm sure there are other possibilities, that's just off the top of my head.

One thing is for certain. You are successfully connected to an SSH server. So this doesn't appear to be a firewall issue or anything like that (unless your firewall would redirect you to do a different SSH server... but that seems unlikely.)



On 11/15/2010 1:48 PM, Scott Schollenberger wrote:
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 ...

Replies:

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.