IMPORTANT: As of Friday, 28. September 2018 the root user is enabled by default if password based location is selected and you can login with the root account. The unprivileged user is now `cloud` and is also enabled by default with the the default password set. If SSH based authentication is selected, the root account is disabled and it's only possible to login with the cloud user with a valid SSH key for added security.
To log in to your Cloud Virtual Server using SSH and your root use, which is disabled by default, must be allowed to log in via SSH.
You can do this using the following commands. Use the "cloud" user to log in to your Cloud Virtual Server first.
- sudo -i
- Set your password for the root user
- The entry must then be confirmed by pressing the "Enter" key.
- This step may vary depending on the operating system. Use the command ls /etc/ssh/ | grep config to find out which config file you have to edit.
- Your config-file should be named like "sshd_config" or "sshd.config".
- Change parameter "#PermitRootLogin without-password" to "PermitRootLogin yes
- (Important: remove the # to activate the entry)
- service ssh restart
After you have done the changes you should now be able to log in with the root user via SSH.