Failed to create the ssh channel

Please post here if you have problems in using Wing FTP Server.
Post Reply
eordona
Posts: 55
Joined: Fri Aug 24, 2012 5:42 pm

Failed to create the ssh channel

Post by eordona »

Hello, after upgrading WingFTP from 4.6.2 to 4.7.1, one of my suppliers is now unable to connect to me. They have made no changes to their software / process on their side.

Our errors from the domain log and from the new ssh log (I obfuscated the IP addresses to x.x.x.x and y.y.y.y.):

[02] Fri, 29 Apr 2016 04:16:30 (0000913) Connected from x.x.x.x (local address y.y.y.y, port 22)
[01] Fri, 29 Apr 2016 04:16:30 (0000913) Public key authentication OK.
[01] Fri, 29 Apr 2016 04:16:30 (0000913) SSH authentication completed successfully. Client information: SSH-2.0-Jscape
[02] Fri, 29 Apr 2016 04:16:33 (0000913) Closed session, disconnected from x.x.x.x. The reason is: Failed to create the ssh channel.

[2016/04/29 04:16:33.387834, 1] ssh_socket_exception_callback: Socket exception callback: 1 (0)
[2016/04/29 04:16:33.392469, 1] ssh_socket_exception_callback: Socket error: disconnected

Based on the release notes for 4.6.3, 4.7.0, and 4.7.1 it seems there have been a lot of changes with OpenSSL/SSH/SFTP.

Can you help me figure out what the issue is?

Thanks,
Eric
eordona
Posts: 55
Joined: Fri Aug 24, 2012 5:42 pm

Re: Failed to create the ssh channel

Post by eordona »

Any update on this? What other information can I provide to you?
natel628
Posts: 1
Joined: Tue May 03, 2016 5:14 pm

Re: Failed to create the ssh channel

Post by natel628 »

I also have someone who is getting this error when trying to connect with username/ssh key and no password and was looking for a resolution. Looks to be an identical error.
eordona
Posts: 55
Joined: Fri Aug 24, 2012 5:42 pm

Re: Failed to create the ssh channel

Post by eordona »

Oh good, I am not alone.

Yes, I have the "Enable SSH Public Key Authentication" field checked on the "Limit" tab of the user profile. I have the "SSH pubic key path" specified, and the "SSH authentication method" is set to "Only use public key authentication."

This was working for ~ 2 years with no issue until the recent upgrade.

WingFTP support -- any help???
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: Failed to create the ssh channel

Post by FTP »

Please upgrade to the latest version 4.7.3, I think WingFTP already fixed such issue.

And BTW, this issue is not caused by WingFTP itself, because the sftp tool you are using has some strange SFTP behavior, now WingFTP changed something to improve the compatibility with such tool.

And even you use public key authentication only, you must add an empty password in that tool's script file,
eordona
Posts: 55
Joined: Fri Aug 24, 2012 5:42 pm

Re: Failed to create the ssh channel

Post by eordona »

I can confirm that 4.7.3 has fixed the issue. Thanks!!
oopspo
Posts: 2
Joined: Fri Apr 15, 2016 6:20 am

Re: Failed to create the ssh channel

Post by oopspo »

We has same issue in 4.7.3 32bit for linux.
successfull authentication after Failed to create the ssh channel.

Code: Select all

[02] Fri, 17 Jun 2016 11:05:49 (0005073) Connected from 123.123.123.123 (local address 234.234.234.234, port 34567)
[01] Fri, 17 Jun 2016 11:05:49 (0005073) User/password authentication OK.
[01] Fri, 17 Jun 2016 11:05:49 (0005073) SSH authentication completed successfully. Client information: SSH-2.0-http://www.sshtools.com J2SSH [CLIENT]
[02] Fri, 17 Jun 2016 11:05:50 (0005073) Closed session, disconnected from 123.123.123.123. The reason is: Failed to create the ssh channel.
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: Failed to create the ssh channel

Post by FTP »

We also tested with the latest version of J2SSH, there is no such problem, so you had better update your J2SSH lib.
hyperion
Posts: 11
Joined: Tue Jun 03, 2014 8:18 am

Re: Failed to create the ssh channel

Post by hyperion »

Hello, we updated to 4.7.6 from 4.6.2 in october, and one of our clients recently said they cannot connect anymore via JSCAPE (after nearly a month of sending files via Filezilla).
After some discussions with the client, their SFTP client, JSCAPE, is the latest version (9.3).
I did update WingFTP to 4.7.8 last week, seeing that there was another update, but the client still cannot send files via JSCAPE.

Here are our logs:
[02] Wed, 16 Nov 2016 00:00:00 (0043690) Connected from x.x.x.x (local address *.*.*.*, port 22)
[01] Wed, 16 Nov 2016 00:00:00 (0043690) Public key authentication OK.
[01] Wed, 16 Nov 2016 00:00:00 (0043690) SSH authentication completed successfully. Client information: SSH-2.0-JSCAPE
[02] Wed, 16 Nov 2016 00:00:00 (0043690) Closed session, disconnected from x.x.x.x. The reason is: Failed to create the ssh channel.

As this thread previously mentioned that it was a problem introduced/revealed by version 4.7.1, resolved by version 4.7.3.
On my side, is there something I can do to solve this SFTP problem ?
Post Reply