After upgrading to 1.9.3, it is not possible to connect via SFTP

I can’t connect via Filezilla via SFTP, I connect to the server via ssh in the terminal)

Ошибка:	FATAL ERROR: Received unexpected end-of-file from SFTP server
Error: Unable to connect to the server

Seems sftp only works when user’s shell is assigned to nologin or rssh

From my quick tests.

User with shell set to nologin:
FTP: OK
SFTP: OK
SSH: FAIL

User with shell set to bash or jailbash:
FTP: FAIL
SFTP: FAIL
SSH: OK

1 Like

There goes something wrong if v-add-sys-sftp-jail / v-add-sys-ssh-jail / or the delete are called:

Sometimes:

Subsystem sftp internal-sftp**-server**

Gets added

Found the issue

2 Likes

Hello, I’m sorry, I didn’t understand what I should do then?))

sed -i 's/Subsystem sftp internal-sftp-.*/Subsystem sftp internal-sftp/' /etc/ssh/sshd_config

and restart ssh service

5 Likes

same issue… also cant connect to phpmyadmin via hestiacp with SSO enabled

Thank you very much! It would be nice to fix this in the version of course

Hello, could you explain these directories will be added to
sshd_config now always, or is this a temporary solution? Why I ask, I use sshd_config as a standalone file(portable), and would like to understand. Thanks

Same issue - working or ssh OR ftp deppend how shell mode set (((
Ubuntu 24.24 LTS

And restart ssh service :blush:

2 Likes

Hi guys, I created a topic due to a lot of issues with FTP and so but sadly never got an answer, this topic has actually similar issues with my case: Here is the thing If I install Ubuntu 22.04 with Hestia 1.9.3 if I create sudo users inside system and also users from Hestia, all of them can access FTP and SFTP using default config of nologin, if I do exactly same thing with Ubuntu 24.04 sudo users can not login with FTP or SFTP, and Hestia users even if set as nologin can’t access FTP but they can do SFTP. I already installed both ubuntu versions with only ProFTPD manually and look is working, but not with Hestia installation, I guess this should be related with SSH jails or so ?