Knowledge Base

Install SSH Server on Debian or Ubuntu VPS

You can install an SSH Server in Debian/Ubuntu VPS by doing the following:

  1. Open your VPS console from the Power Management control panel.
  2. Log In to your VPS by entering your username and password.
  3. Install the SSH package with the apt-get command. To install the SSH Server package, type:
    # apt-get update
    # apt-get install openssh-server
  4. Start the SSH service with the following command:
    # chkconfig sshd on
    # /etc/init.d/ssh start
  5. The SSH service runs at port 22 by default. You can check if port 22 is open by using the following command:
    # netstat -tulpn | grep :22

Congratulations, you have installed SSH Server on your Debian/Ubuntu VPS.

To configure the SSH Server edit /etc/ssh/sshd_config and update the configuration values.

Did you find this article helpful?

* Your feedback is too short