Error: Received unexpected end-of-file from SFTP server

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
tgherron
500 Command not understood
Posts: 1
Joined: 2022-04-14 16:01
First name: Tom
Last name: Herron

Error: Received unexpected end-of-file from SFTP server

#1 Post by tgherron » 2022-04-14 16:18

I am setting up a embedded linux system for SFTP. I'm using dropbear 2020.81 as the server. I can open an SSH terminal session from my PC using putty with no issues. But when I try to use filezilla to open an SFTP connection, I get the message Error: Received unexpected end-of-file from SFTP server after Filezilla connects to my target. Below is verbose log from the connection attempt. Any hints on what this means would be appreciated.

Code: Select all

Status:	Disconnected from server
Status:	Connecting to 192.168.1.12...
Trace:	CControlSocket::SendNextCommand()
Trace:	CSftpConnectOpData::Send() in state 0
Trace:	Going to execute C:\Program Files\FileZilla FTP Client\fzsftp.exe
Response:	fzSftp started, protocol_version=8
Trace:	CSftpConnectOpData::ParseResponse() in state 0
Trace:	CControlSocket::SendNextCommand()
Trace:	CSftpConnectOpData::Send() in state 3
Command:	open "root@192.168.1.12" 22
Trace:	Connecting to 192.168.1.12 port 22
Trace:	We claim version: SSH-2.0-FileZilla_3.46.0
Trace:	Server version: SSH-2.0-dropbear_2020.81
Trace:	Using SSH protocol version 2
Trace:	Doing ECDH key exchange with curve nistp256 and hash SHA-256
Trace:	Host key fingerprint is:
Trace:	ssh-rsa 2048 74:ff:89:0d:1a:db:60:61:5a:bd:59:8d:83:ad:5d:a8 4tn5fqycxSoioZzD4h0IESwxcgbNkPA4HrVS26d35G8=
Trace:	Initialised AES-256 SDCTR client->server encryption
Trace:	Initialised HMAC-SHA-256 client->server MAC algorithm
Trace:	Initialised AES-256 SDCTR server->client encryption
Trace:	Initialised HMAC-SHA-256 server->client MAC algorithm
Command:	Pass: ********
Trace:	Sent password
Trace:	Access granted
Trace:	Opening session as main channel
Trace:	Opened main channel
Trace:	Started a shell/command
Status:	Connected to 192.168.1.12
Error:	Received unexpected end-of-file from SFTP server
Trace:	CSftpControlSocket::OnTerminate without error
Trace:	CControlSocket::ResetOperation(66)
Trace:	CSftpConnectOpData::Reset(66) in state 3
Error:	Could not connect to server
Status:	Waiting to retry...
Status:	Connecting to 192.168.1.12...
Trace:	CControlSocket::SendNextCommand()
Trace:	CSftpConnectOpData::Send() in state 0
Trace:	Going to execute C:\Program Files\FileZilla FTP Client\fzsftp.exe
Response:	fzSftp started, protocol_version=8
Trace:	CSftpConnectOpData::ParseResponse() in state 0
Trace:	CControlSocket::SendNextCommand()
Trace:	CSftpConnectOpData::Send() in state 3
Command:	open "root@192.168.1.12" 22
Trace:	Connecting to 192.168.1.12 port 22
Trace:	We claim version: SSH-2.0-FileZilla_3.46.0
Trace:	Server version: SSH-2.0-dropbear_2020.81
Trace:	Using SSH protocol version 2
Trace:	Doing ECDH key exchange with curve nistp256 and hash SHA-256
Trace:	Host key fingerprint is:
Trace:	ssh-rsa 2048 74:ff:89:0d:1a:db:60:61:5a:bd:59:8d:83:ad:5d:a8 4tn5fqycxSoioZzD4h0IESwxcgbNkPA4HrVS26d35G8=
Trace:	Initialised AES-256 SDCTR client->server encryption
Trace:	Initialised HMAC-SHA-256 client->server MAC algorithm
Trace:	Initialised AES-256 SDCTR server->client encryption
Trace:	Initialised HMAC-SHA-256 server->client MAC algorithm
Command:	Pass: ********
Trace:	Sent password
Trace:	Access granted
Trace:	Opening session as main channel
Trace:	Opened main channel
Trace:	Started a shell/command
Status:	Connected to 192.168.1.12
Error:	Received unexpected end-of-file from SFTP server
Trace:	CSftpControlSocket::OnTerminate without error
Trace:	CControlSocket::ResetOperation(66)
Trace:	CSftpConnectOpData::Reset(66) in state 3
Error:	Could not connect to server

User avatar
botg
Site Admin
Posts: 35507
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: Error: Received unexpected end-of-file from SFTP server

#2 Post by botg » 2022-04-14 16:56

You must update to the most recent version of FileZilla, we cannot support outdated versions.

marek.krivan
500 Command not understood
Posts: 2
Joined: 2022-06-15 13:03
First name: Marek
Last name: Krivan

Re: Error: Received unexpected end-of-file from SFTP server

#3 Post by marek.krivan » 2022-06-15 13:06

Hello,

I have Filezilla Pro version 3.59.0. and according to the app store it's the current version, I'm facing the same problem.

Can you help me?

User avatar
boco
Contributor
Posts: 26911
Joined: 2006-05-01 03:28
Location: Germany

Re: Error: Received unexpected end-of-file from SFTP server

#4 Post by boco » 2022-06-15 23:56

For FileZilla Pro, please ask in the dedicated customer forum. Reach it from FileZilla Pro's Help menu and follow the instructions to register. Then, as a licensee, you are eligible for priority customer support.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

marek.krivan
500 Command not understood
Posts: 2
Joined: 2022-06-15 13:03
First name: Marek
Last name: Krivan

Re: Error: Received unexpected end-of-file from SFTP server

#5 Post by marek.krivan » 2022-06-16 06:19

I didnt know.

Thank you.

Post Reply