SFTP & WebMail Not Working

Great :wink:

Your ssh conf only allow public key authentication.

Show me the output of this command:

sudo grep -iE 'PasswordAuthentication\s|UsePAM' /etc/ssh/sshd_config

PasswordAuthentication no
UsePAM yes

I enrolled in an online class to learn Linux.

2 Likes

Do you know how to edit a file? You must change that PasswordAuthentication to yes

If you don’t know how to edit it from command line tell me and I will send a command to you so you don’t need to edit it.

I don’t know how to edit it. I enrolled in some courses to learn. A beginner class and an advanced class.

Ok :wink:

sudo su -
sed -iE "/^PasswordAuthentication no/c\PasswordAuthentication yes"
systemctl restart sshd

And try to login again with user admin via sftp.

SFTP is only availble on the user “user” and nog for ftp user …

It will be added in 1.9 release for user_xxx aswell…

root@hcp:~# root@hcp:~# sed -iE “/^PasswordAuthentication no/c\PasswordAuthentication yes”
sed: no input files

Should it say “no input files”?

SFTP still not working

No, sorry, i forgot to add the file.

sudo su -
sed -iE "/^PasswordAuthentication no/c\PasswordAuthentication yes" /etc/ssh/sshd_config
systemctl restart sshd
2 Likes

Thank you so much! Everything is working.

1 Like

Question

In Hestia I currently have 2 users. An Admin user and another user. The User can see all the domains and the mail etc. The Admin can not see any of the domains and mail. I thought the admin has higher authority. Why can’t the admin see everything the user can see?

Normally/Default “Admin” can only see and access 1 domain which is root/host domain which you use during installation in web tab. (hcp.example1.com)
But Admin is capable to login any other user account in user tab and see all other domains which that perticular added in his web & mail domain,
also when admin login as other user admin get all access which that user has in control panel.
Beside that admin can also see all web domain and user in “server configure > web server”
In Hestiacp admin has low (only 1) capability to create web domain, mail domain and no DB access by default (definately u can change it by edit packages) and other user has high capability to create web domain, mail domain and DB access,
But admin is still higest authority because admin can access users, and packages (by default)
Pls note if you want u can change all this default settings in packages.

1 Like

Thank you for the explaination