Jan,
Your setup will be different depending if your using keys or not.
I've done both.
Paul
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Chris Bipes
Sent: Thursday, October 29, 2015 11:29 AM
To: Midrange Systems Technical Discussion
Subject: RE: sftp with openSSH
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
Hello,
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?
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.