Virtual Private Server allowing SSH password authentication

Our server is deployed with SSH-key authentication only, but changing that is easy.

To login via SSH with the user and password you have set when purchasing, you will need to edit the /etc/ssh/sshd_config settings to allow password authentication.

To achieve that you must login into the client area, "Services" and select your VPS, then access your noVNC console - there you will be able to login manually with the username and password.


1. Open the sshd_config file. This can be done by typing the following command in the terminal:

sudo nano /etc/ssh/sshd_config

2. Find the line that says “PasswordAuthentication”. It should be set to “no” by default.

3. Change the value of this line to “yes”.

4. Save and close the file.

5. Restart the SSH service. This can be done by typing the following command in the terminal:
sudo systemctl restart sshd

6. Test the new configuration by attempting to log in using a password.

Another standard to keep your server safe is that we do not give root access directly. So you can access via this user you have and then use "sudo" to access as user or "sudo su" to switch the user to root, this allows you to set a password for root and one for the user that has limited access and SSH, anyone taking advantage of any possible vulnerability would have limited rights. This security measure can also be disabled simply by setting the same sshd_config file, find the line that says “PermitRootLogin”. It should be set to “no” by default. Change the value of this line to “yes”.

If you need any kind of assistance setting up your VPS, please open a ticket to our VPS Department so we assist you further.

  • 0 Utenti hanno trovato utile questa risposta
Hai trovato utile questa risposta?

Articoli Correlati

Remove disc from sources.list

Want to update Debian but just recive this error?: Media change: please insert the disc...

Root user on Ubuntu / Debian

On standard Ubuntu and Debian does not offer a root user via ssh (unless you activate him), you...

Long password

For security reasons we always recommend to set strong and long passwords.But we also advise to...

Speedtest

Step-by-step guide sudo apt-get install python-pip sudo pip install speedtest-cli...

Step-by-step: Ubuntu 20 installation

Ubuntu 20 Standard installation1 ) Choose language and locale, we will use English.   2)...