sftp doesn't work from some OS versions

Here you can submit your bug reports.

sftp doesn't work from some OS versions

Postby matt1234 » Mon Nov 23, 2015 4:04 pm

Attempting to log into the ftp server using sftp does not work for some OS versions. Not working includes:

Mac OS X 10.11.1
Fedora 23
Ubuntu 14

Working includes:

Mac OS X 10.9.5
CentOS 6
CentOS 7
Ubuntu 12
Suse 11

On a Mac the error looks like the following (with user names, IPs, and domains replaced):

$ sftp -v -o IdentityFile=XXX <user@site>
OpenSSH_6.9p1, LibreSSL 2.1.7
debug1: Reading configuration data <...>/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 20: Applying options for *
debug1: /etc/ssh/ssh_config line 53: Applying options for *
debug1: Connecting to <site> [X.X.X.X] port 22.
debug1: Connection established.
debug1: identity file <file> type 1
debug1: key_load_public: No such file or directory
debug1: identity file <file> type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.9
debug1: Remote protocol version 2.0, remote software version WeOnlyDo-WingFTP
debug1: no match: WeOnlyDo-WingFTP
debug1: Authenticating to <site>:22 as '<user>'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-sha1 none
debug1: kex: client->server aes128-cbc hmac-sha1 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<7680<8192) sent
Received disconnect from X.X.X.X: 2: Handshake failed
Disconnected from X.X.X.X
Connection closed


The same pattern is seen on Fedora 23.

The server does not show anything interesting in the log, just a message like:

[02] Thu, 19 Nov 2015 15:05:59 (0941580) Connected from 38.106.199.6 (local address 10.187.62.79, port 22)
[01] Thu, 19 Nov 2015 15:05:59 (0941580) SSH session receive user name:<user>
[01] Thu, 19 Nov 2015 15:05:59 (0941580) SSH session receive password of user <user>
[01] Thu, 19 Nov 2015 15:05:59 (0941580) Failed in public key authentication.
[02] Thu, 19 Nov 2015 15:06:00 (0941580) Closed session,disconnected from 38.106.199.6. The reason is:Unable to complete handshake.
matt1234
 
4
 
Mon Nov 23, 2015 3:53 pm

Re: sftp doesn't work from some OS versions

Postby FTP » Tue Nov 24, 2015 6:58 am

Already tested it with Ubuntu 14.04, everything worked fine, so do you have any special SSH configuration?
FTP
Site Admin
 
1739
 
Tue Sep 29, 2009 6:09 am

Re: sftp doesn't work from some OS versions

Postby matt1234 » Tue Nov 24, 2015 1:35 pm

I do not currently have access to an Ubuntu 14 system. I do have access to OS X 10.11.1 and Fedora 23 systems that show the exact failure. Fedora 22 also show the same problem. Fedora 21 does not.

I do not know of any ssh configurations that would affect what appears to be a disconnect from the server. Can you suggest any to look at?
matt1234
 
4
 
Mon Nov 23, 2015 3:53 pm

Re: sftp doesn't work from some OS versions

Postby matt1234 » Wed Nov 25, 2015 3:17 pm

I can confirm that Ubuntu 14 does work. That gives:

Not working:

Mac OS X 10.11.1
Fedora 22
Fedora 23

Working:

Mac OS X 10.9.5
CentOS 6
CentOS 7
Ubuntu 12
Ubuntu 14
Suse 11
matt1234
 
4
 
Mon Nov 23, 2015 3:53 pm

Re: sftp doesn't work from some OS versions

Postby FTP » Thu Nov 26, 2015 3:38 am

OK, it seems Ubuntu 15 has the similar issue like you said, it is caused by the maximum public-key component size, and we will fix it in the next release, thanks for your report!
FTP
Site Admin
 
1739
 
Tue Sep 29, 2009 6:09 am

Re: sftp doesn't work from some OS versions

Postby wwwald » Tue Mar 22, 2016 3:55 pm

I'm currently also running into this problem, connecting to Wing FTP Server using scp from an Ubuntu machine.
Is there a workaround, as I have no control over server upgrades whatsoever?

Thanks!
wwwald
 
1
 
Tue Mar 22, 2016 3:53 pm

Re: sftp doesn't work from some OS versions

Postby FTP » Wed Mar 23, 2016 10:41 am

OK, WingFTP does not support SCP protocol, please use SFTP instead.
FTP
Site Admin
 
1739
 
Tue Sep 29, 2009 6:09 am

Re: sftp doesn't work from some OS versions

Postby Spriter » Sat Jul 23, 2016 8:30 am

FTP wrote:OK, WingFTP does not support SCP protocol, please use SFTP instead too.


D'oh, I've been trying to use the SCP protocol all this time. It worked after using SFTP. Glad I saw your post.
Spriter
 
1
 
Thu Jul 21, 2016 6:36 pm


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 1 guest