Note: For the server security reasons, we recommended to login only with the .pem files. These instructions can cause some security problems. Please follow this guide if you are expert in linux.
By default, servers does not allow to connect as root. You should connect as different users. But if you still want to connect as root, you can learn it with this guide.
To do this, first of all you should make an SSH connection to your server.
You can add your server to Terminal on siterobot.io to make an SSH connection. If you are using windows, you can learn how to connect to your siterobot.io server via SSH with PuTTY with this guide. If you are using Mac OS X or Linux on your home computer, please follow the steps on manage server page instead.
By default, servers are not accepted password authenticated connections. We will fix this with a few changes.
sudo nano /etc/ssh/sshd_config
After open this file, lets find the #PasswordAuthentication line. Remove the first # character. And then save and close the file (ctrl-x, y, enter).
To login server as root, we should set a password to root user.
sudo passwd root
After that root access should be permitted. To make this, we will modify sshd_config file.
sudo nano /etc/ssh/sshd_config
Find the "PermitRootLogin" line and replace it with "PermitRootLogin yes".
Restart sshd service now to affect changes.
sudo service sshd restart
From now on you can access your server via SSH as root with username and password.