Bought an OVH and got given user ubuntu
etc? Here's how to fix that issue.
- Type
sudo nano /etc/ssh/sshd_config
- Scroll Down until you see
#PermitRootLogin prohibit-password
change that toPermitRootLogin yes
then Save. - Type
sudo passwd your_password
- Enter New Password, then again. - Once that is done do
service sshd restart
- Then login using user
root
and passwordyour_password
Hope it works for you.