Need to install hestiacp root?

I know this does not apply to you
I have no place to know this
Please help me if you can.

Need to install hestiacp root?
I bought an OVH VPS
I need to log in to ssh root
With os comes Username debain
Can’t root log in ovh?

I logged in root as follows

sudo su -
sudo passwd root
sudo nano / etc / ssh / sshd_config
PermitRootLogin yes
service ssh restart

Is that correct? Is it safe?

How to disable debain login received with os?
I must have only root logged in

screenshot-mail.google.com-2021.07.12-14_49_33

deluser debian should work fine.

Personally I would keep the root user disabled and login with the debian user.

Only things to do is add:

PATH=$PATH:/usr/local/hestia/bin/

to /root/.bash_profile

and

/root/.bashrc

if [ "${PATH#*/usr/local/hestia/bin*}" = "$PATH" ]; then
    . /etc/profile.d/hestia.sh
fi

After the install is complete. This makes sure that the paths are loaded correctly

3 Likes

thank you

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