PDA

View Full Version : v5 SSH Issues


Feeps
02-08-2017, 05:11 AM
Hello,

I seem to be having an issue with v5 that I could do with some assistance with. It has been doing it for a while which made me think that is was the SFTP server or work proxy being the issue, but using v4 or WinSCP I don't get the issues.

The issue I am getting is :

[L] SSH Error: (105)
[L] SFTP Connection closed
[L] Download Error: Connection closed by lower level protocol
[L] SSH Connection closed


It happens randomly while in the office (on 50mb+ files), but all the time over VPN. (1mb+ files).

v4 and WinSCP seem to happly download without any errors, I tried to match v5 with v4 settings but couldn't get the fingerprint part to match, both using SFTPv3.

From v5 :

[L] Connecting to Server1 -> IP=***.***.***.*** PORT=22
[L] Connected to Server1
[L] Host key algorithm ssh-rsa, size 2048 bits.
[L] Fingerprint (SHA256): DZBkDqpLynNyt9Q5hUa+aGMMM1hOPrd78aRP8F5ePP8=
[L] Key exchange: diffie-hellman-group14-sha1. Session encryption: aes256-ctr, MAC: hmac-sha1, compression: none.
[L] Auth Type: Password
[L] Authentication succeeded
[L] SSH Connection open
[L] Connection established with OpenSSH_5.3 (SFTP v3)
[L] SFTP Connection Ready

[L] Downloading: File1.txt
[L] SSH Error: Invalid packet size. The packet is too large.
[L] SFTP Connection closed
[L] Download Error: Connection closed by lower level protocol
[L] SSH Connection closed
[L] Transfer Failed: File1.txt
[L] Connection Lost: Server1
Transferred 0 Files (0 bytes) in 0.46 seconds (0 KB/s)


It will then reconnect and try again giving a different error :

[L] Attempting to Reconnect.
[L] Connecting to Server1 -> IP=***.***.***.*** PORT=22 (attempt # 1)
[L] Connected to Server1
[L] Host key algorithm ssh-rsa, size 2048 bits.
[L] Fingerprint (SHA256): DZBkDqpLynNyt9Q5hUa+aGMMM1hOPrd78aRP8F5ePP8=
[L] Key exchange: diffie-hellman-group14-sha1. Session encryption: aes256-ctr, MAC: hmac-sha1, compression: none.
[L] Auth Type: Password
[L] Authentication succeeded
[L] SSH Connection open
[L] Connection established with OpenSSH_5.3 (SFTP v3)
[L] SFTP Connection Ready
[L] Downloading: File1.txt
[L] SSH Error: (105)
[L] SFTP Connection closed
[L] Download Error: Connection closed by lower level protocol
[L] SSH Connection closed
[L] Transfer Failed: File1.txt
[L] Connection Lost: Server1 (Duration: 2 seconds)

From v4 :

[L] Connecting to Server1 -> IP=***.***.***.*** PORT=22
[L] Connected to Server1
[L] Host key algorithm ssh-RSA, size 2048 bits.
[L] Fingerprint (MD5): f5:e0:34:e1:f1:3d:66:cb:24:04:c1:22:e7:5e:14:4a
[L] Key exchange: diffie-hellman-group14-sha1. Session encryption: aes256-ctr, MAC: hmac-sha1, compression: none.
[L] Auth Type: Password
[L] Authentication succeeded
[L] SSH Connection open
[L] Connection established with OpenSSH_5.3 (SFTP v3)
[L] SFTP Connection Ready
[L] Downloading: File1.txt
Download: File1.txt 58,659 KB in 7 seconds (8,358 KB/s)
Transfer queue completed
Transferred 1 File (58,659 KB) in 8 seconds (7,078 KB/s)


I have played around with various settings in v5 but get the same results.

If you need anymore information, let me know! :)

Kind regards,
Aaron

bigstar
02-08-2017, 07:19 PM
For v5 are you using the latest version 5.4.0 build 3956?

Would it be possible to create a test account on this SFTP server for me to test with a couple files of similar size that you're having problems downloading.

The Fingerprint in v5 will not match v4 because we switched the fingerprint hash that is displayed, SHA-256 is much more secure.

Feeps
02-09-2017, 03:07 AM
For v5 are you using the latest version 5.4.0 build 3956?

Would it be possible to create a test account on this SFTP server for me to test with a couple files of similar size that you're having problems downloading.

The Fingerprint in v5 will not match v4 because we switched the fingerprint hash that is displayed, SHA-256 is much more secure.

Hi bud,

Yep always updating to the latest version whenever it comes out. It wouldn't be possible because a) its an internal lan sftp b) it has confidential data that can't be viewed by anyone without clearance.

Is there any extra debugging mode I can enable? I have enabled logs but it just logs what shown in the gui window.

Regards,
Aaron

bigstar
02-09-2017, 09:11 AM
Perhaps we can continue this issue over email. I will send you an email.

What Linux distro is the server running?

I understand your situation.

In your original post you compared v4 to v5, but did you experience this issue with previous 5.x builds?