Great ![]()
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
Great ![]()
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.
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 ![]()
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
Thank you so much! Everything is working.
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.
Thank you for the explaination