If you are running SSH for file transfer from a telnet session you will have problems with most sFTP servers as they do not allow the telnet protocol. The access denied is from the remote host when you try to access the shell for the telnet session.

SSH is not sFTP even though it is over the same port. If you build a CL program and run it in batch, it will work. To the best of my knowledge IBM does not provide an interactive sFTP client such as Filezilla is.

Chris Bipes
Director of Information Services
CrossCheck, Inc.
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Jan Grove Vejlstrup
Sent: Thursday, October 29, 2015 10:47 AM
To: Midrange Systems Technical Discussion
Subject: sftp with openSSH


I'm using OpenSSH to connect to a sftp-server on port 4096 and with a
password as credential. Unfortunately I don't succeed. I receive this:

sftp -oPort=4096 import@xxxxxxxxxxx
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password).
Connection closed

yxz.abc.com stands for the server. If I use fileZilla it works. What am I doing wrong?

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2021 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.