hestiacp icon indicating copy to clipboard operation
hestiacp copied to clipboard

[Bug] sFTP doesn't work | wrong line in sshd_config

Open mehargags opened this issue 1 year ago • 2 comments

Describe the bug

I rolled in a few servers in last 3 days and almost all of them failed to connect over sFTP for any user's made inside HestiaCP. The SSH would work for users that I change shell for... but sFTP would login and disconnect immediately.

After some playing around I noticed line 116 of /etc/ssh/sshd_config says

Subsystem sftp internal-sftp-server Deleting the part '-server' from it fixed the sFTP connections. Screenshot attached for reference.

So it needs to read Subsystem sftp internal-sftp

Can the devs pls double check and fix this ASAP. pls

Image

Tell us how to replicate the bug

line 116 of /etc/ssh/sshd_config Replace Subsystem sftp internal-sftp-server with Subsystem sftp internal-sftp

Which components are affected by this bug?

Control Panel Command Line Interface

Hestia Control Panel Version

1.9.3

Operating system

Debian 12

Log capture


mehargags avatar Mar 18 '25 19:03 mehargags

This bug is still not fixed!

ufo56 avatar May 14 '25 18:05 ufo56

We see that the bug is fixed, merged ( https://github.com/hestiacp/hestiacp/pull/4873) , but version 1.9.4 is not released yet - https://github.com/hestiacp/hestiacp/blob/4438939f2f4980ce7a96b7954b9a88c55bbe4127/install/upgrade/versions/1.9.4.sh#L26

pavlozt avatar Jun 08 '25 19:06 pavlozt