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: 11 months ago
JSON representation
Bought an OVH and got given user ubuntu etc? Here's how to fix that issue.
- Host: GitHub
- URL: https://github.com/2m4u/ovhrootaccess
- Owner: 2M4U
- Created: 2021-06-11T20:30:40.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-11-27T01:22:13.000Z (over 2 years ago)
- Last Synced: 2025-02-25T04:15:24.615Z (over 1 year ago)
- Topics: ovh, ovh-api, ovhcloud, root, root-account, sshd-config
- Homepage:
- Size: 2.93 KB
- Stars: 14
- Watchers: 1
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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)