Sign Up / Log In
Phone support has longer wait times due to the COVID-19 outbreak. Please send us an email at or click the Chat Now button on the screen.


We are currently experience longer than usual wait times within our Customer Care Centre. Our team are working through the call volume as quickly as they can however, we ask that you limit enquiries through telephone for urgent matters only at this stage. We would like to advise the utilisation of our Chat or Email support in which our team will revert to support you as quickly as possible.

Need help?
000 800 100 3215
Online Support Linux Servers

Configuring SSH Server on Debian or Ubuntu

You can configurate the SSH Server on Debian/Ubuntu VPS by doing the following:

  1. The default SSH server configuration file is /etc/ssh/sshd_config. You need to edit this file using a text editor such as VI using the following command:
    # vi /etc/ssh/sshd_config
  2. To disable root logins, edit or add the following line:
    PermitRootLogin no
  3. To allow only specific users over SSH add the following line:
    AllowUsers bob john
  4. Change the listening port of SSH service add the following line:
    Port 11111
  5. Save and close the file.
  6. Restart the SSH service to reflect the changes using the following command:
    # service sshd restart

Congratulations, you have configured the SSH Server on Debian/Ubuntu VPS.

Was this helpful? Yes No 79% of people found this helpful.
Need Help? Chat Now