SSH is disabled for users ("this service allows sftp connections only")

Currently on the most recent Hestia + Ubuntu 22.04.3 LTS.
Hestia users can’t be accessed via SSH anymore (“this service allows sftp connections only”)

The issue is in Configure Server: SSH of the server.

It has ForceCommand internal-sftp

I’ve tried to comment it out and got
/usr/sbin/nologin

Why on earth has someone decided we no longer need SSH login to our users and how can I fix it? The access is only needed to the user’s own folder.

No one has decided it. By default, the users don’t have ssh access (nologin) change ssh access option for that user to something like bash.

2 Likes

Thanx, my lesson here is never reinstall servers at night (it makes me forget even the most basic things)

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.