Skip to content
TrySitePrice

How to install ssh on Ubuntu Linux using apt-get

Best/Tutorial

You can install ssh on Ubuntu Linux using the apt-get package manager by following these steps:

  1. Open a terminal window.
  2. Update the package index by running the following command:

sudo apt-get update

  1. Install ssh by running the following command:

sudo apt-get install openssh-server

  1. Verify that ssh is installed by checking the version:

ssh -v

  1. You should see the version number and information about the OpenSSH package.

Note: If ssh is already installed, the above command will simply upgrade the existing ssh package to the latest version.