Page 1 of 1

Failed to create the ssh channel

Posted: Fri Apr 29, 2016 5:53 pm
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

Re: Failed to create the ssh channel

Posted: Mon May 02, 2016 5:50 pm
by eordona
Any update on this? What other information can I provide to you?

Re: Failed to create the ssh channel

Posted: Tue May 03, 2016 5:16 pm
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.

Re: Failed to create the ssh channel

Posted: Tue May 03, 2016 6:07 pm
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???

Re: Failed to create the ssh channel

Posted: Wed May 25, 2016 8:46 am
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,

Re: Failed to create the ssh channel

Posted: Thu May 26, 2016 2:24 pm
by eordona
I can confirm that 4.7.3 has fixed the issue. Thanks!!

Re: Failed to create the ssh channel

Posted: Fri Jun 17, 2016 6:46 am
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.

Re: Failed to create the ssh channel

Posted: Wed Jun 29, 2016 6:37 am
by FTP
We also tested with the latest version of J2SSH, there is no such problem, so you had better update your J2SSH lib.

Re: Failed to create the ssh channel

Posted: Thu Nov 17, 2016 2:23 pm
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 ?