Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/2m4u/ovhrootaccess

Bought an OVH and got given user ubuntu etc? Here's how to fix that issue.
https://github.com/2m4u/ovhrootaccess

ovh ovh-api ovhcloud root root-account sshd-config

Last synced: 10 days ago
JSON representation

Bought an OVH and got given user ubuntu etc? Here's how to fix that issue.

Awesome Lists containing this project

README

        

# HOW TO GAIN ROOT ACCESS ON OVH VPS
#### *YOU **MUST** OWN THE VPS*

*Bought an OVH and got given user `ubuntu` etc? Here's how to fix that issue.*

## Getting Started
* Type `sudo nano /etc/ssh/sshd_config`
* Scroll Down until you see `#PermitRootLogin prohibit-password` change that to `PermitRootLogin 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 password `your_password`

Hope it works for you.

## Credits

* **vizxals** - [Reddit](https://www.reddit.com/r/ovh/comments/i095rj/ovh_doesnt_allow_root_access_anymore/g17be1r?utm_source=share&utm_medium=web2x&context=3) | [Twitter](https://twitter.com/Vizxals)