connection interrupted after x seconds of inactivity

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
Bibifricotin
500 Command not understood
Posts: 2
Joined: 2019-06-12 07:56

connection interrupted after x seconds of inactivity

#1 Post by Bibifricotin » 2019-06-12 08:30

Hello
I just installed a raspberry PI 3B + under Debian.

I have SSH enabled and I can connect to it with no problem with PuTTY.
However, I failed to establish an SFTP connection with FileZilla.
Each time I get the "connection interrupted after 20 seconds of inactivity" error message.

This is a local connection with the IP address of the raspberry PI, from a Windows PC.
I tried to increase the value of the timeout or disable the firewall but this does not change anything.

Here is the diagnostic trace I get:
Statut : Déconnecté du serveur
Suivi : CControlSocket::DoClose(66)
Suivi : CControlSocket::DoClose(66)
Suivi : CControlSocket::DoClose(66)
Suivi : CFileZillaEnginePrivate::ResetOperation(0)
Statut : Connexion à 192.168.1.80...
Suivi : CControlSocket::SendNextCommand()
Suivi : CSftpDeleteOpData::Send() in state 0
Suivi : Going to execute C:\Program Files\FileZilla FTP Client\fzsftp.exe
Réponse : fzSftp started, protocol_version=8
Suivi : CSftpDeleteOpData::ParseResponse() in state 0
Suivi : CControlSocket::SendNextCommand()
Suivi : CSftpDeleteOpData::Send() in state 3
Commande : open "pi@192.168.1.80" 22
Suivi : Connecting to 192.168.1.80 port 22
Suivi : We claim version: SSH-2.0-FileZilla_3.42.1
Suivi : Server version: SSH-2.0-OpenSSH_7.4p1 Raspbian-10+deb9u6
Suivi : Using SSH protocol version 2
Suivi : Doing ECDH key exchange with curve Curve25519 and hash SHA-256
Suivi : Server also has ecdsa-sha2-nistp256 host key, but we don't know it
Suivi : Host key fingerprint is:
Suivi : ssh-ed25519 256 8b:e3:27:11:6e:d1:a9:7e:24:ef:4b:23:d3:73:0b:4c S8rQVsVszs9bXvwDGcM/QpBE2EsDPHUKVs4S6dA5hbU=
Suivi : Initialised AES-256 GCM client->server encryption
Suivi : Initialised AES256 GCM client->server MAC algorithm (in ETM mode) (required by cipher)
Suivi : Initialised AES-256 GCM server->client encryption
Suivi : Initialised AES256 GCM server->client MAC algorithm (in ETM mode) (required by cipher)
Commande : Pass: ***********
Suivi : Sent password
Suivi : Access granted
Suivi : Opening session as main channel
Suivi : Opened main channel
Erreur : Connection interrompue après 10 secondes d'inactivité
Suivi : CControlSocket::DoClose(2050)
Suivi : CControlSocket::ResetOperation(2114)
Suivi : CSftpDeleteOpData::Reset(2114) in state 3
Erreur : Impossible d'établir une connexion au serveur
Suivi : CFileZillaEnginePrivate::ResetOperation(2114)
Statut : Attente avant nouvel essai...


Thank you kindly help me in resolving my problem

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

Re: connection interrupted after x seconds of inactivity

#2 Post by botg » 2019-06-12 13:05

According to the log the main channel has been successfully opened, which includes sending the request to execute the SFTP subsystem. The server is not answering this request for some reason.

Please check your server's SFTP subsystem configuration. Contact contact your server vendor for further assistance if the issue persists.

Bibifricotin
500 Command not understood
Posts: 2
Joined: 2019-06-12 07:56

Re: connection interrupted after x seconds of inactivity

#3 Post by Bibifricotin » 2019-06-13 08:54

Thank you for your fast response.

I solved my problem by replacing the line "subsystem SFTP/usr/libexec/SFTP-server" by "subsystem SFTP internal-SFTP-f AUTH-I INFO" in the /etc/ssh/sshd_config file.

I think my solution lies in the fact that I no longer use SFTP-server but the internal SFTP of the raspberry.

Thanks again

Post Reply