Permit root login on the One VPS platform.
By default, your VPS Server has the ‘Permit Root login’ disabled, from a security perspective we would recommend you leave the default setting and either connect via the console from your customer control panel or use an SSH key to connect, however if you wish to enable it, follow the process below:
- Connect to your server from your customer control panel.
- Log into your server with the credentials entered at the time you placed the order.
- Type the following at the prompt: vi /etc/ssh/sshd_config
- Locate the line #PermitRootLogin prohibit-password.
- Press i on your keyboard to enter insert mode and replace the line above with the following: PermitRootLogin yes.
- Press escape and the :wq to save the file and quit vi.
- Restart the SSH service: sudo systemctl restart sshd.
Please note at time of writing any reinstall will require an SSH key to be used in order to start the installation and connect via SSH please see the following document on how to create / use an SSH key: