How to install Open SSH Server on Ubuntu and Linux Mint
Note: The following steps will work for installing open SSH server on a desktop computer as well as Ubuntu server. This can also be done in Debian and Linux Mint.
What is SSH?
SSH is program and protocol for securely logging into remote machines across a network. It allows you to run programs, and do a variety of tasks as if you were sitting at the machine. SSH is very similar to telnet except for it is with encryption to protect the transferred information and authentication.
How to Install SSH Server:
We will use the terminal to install the SSH server. Open up a terminal and type in the following command to search for openssh.
apt-cache search openssh
You can see there are several packages available. The package we will want to install is openssh-server.
openssh-server - secure shell (SSH) server, for secure access from remote machines.
To install openssh-server we can use apt-get.
sudo apt-get install openssh-server
Enter Your Password
Enter Yes to install the packages
Once it completes we will want to jump on a remote machine and try to connect. (Note: Your SSH server IP will may be different)
If you need help finding your IP address please take a look at: http://mixeduperic.com/linux/how-to-find-your-ip-address-in-linux.html
Enter Yes to accept the Certificate.
If you would like to learn how to change your default SSH port to help protect against automated attacks check out:
If you enjoyed this post, please share it on your favorite social network by clicking on the “Share / Save” bar below.