I installed Hestiacp, so far working (ubuntu 24 lts) ; i can connect to the panel, I can connect with the root account in SSH… but I can’t connect with sftp as root (nor with any user account) ; did i misses something ? I didn’t changed any files. Firewall allows port 22. I have no error message, just the connexion never starts. SSH (same passwords) working great so i am a little bit lost… If someone could please help me out ?
same thing happen to me. even few mints go i was using Sftp as root but after restart the server its stop working.
in putty SSH is working i can connect fine.
but when im using Sftp (FileZilla) im getting error
Error: Could not connect to server
root@hetzner-cp2 ~ # grep -Ev '^#|^$' /etc/ssh/sshd_config
Include /etc/ssh/sshd_config.d/*.conf
LoginGraceTime 1m
PermitRootLogin yes
KbdInteractiveAuthentication no
UsePAM yes
X11Forwarding yes
PrintMotd no
DebianBanner no
AcceptEnv LANG LC_*
Subsystem sftp internal-sftp-server
Match User sftp_dummy99,client,synexta
ChrootDirectory /srv/jail/%u
X11Forwarding no
AllowTCPForwarding no
ForceCommand internal-sftp -d /home/%u
I noticed that after the update the sftp line was updated and became incorrect. I corrected it and sftp worked from the root user. I haven’t tested it for others.