Ubuntu 14 Install and Configure SSH

Ubuntu 14 Install and Configure SSH

Ensure the OS is up to date.

sudo apt-get update 
sudo apt-get  

Install OpenSSH server on the OS.

sudo apt-get install openssh-server 

It's also a good idea to make a copy of the default SSH configuration, so that if you ever mess up your SSH settings you can revert to the original.

sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.factory-defaults 

That's all you need in order to get SSH working. You should now be able to use a program like Putty in order to connect to the remote OS via port 22 (assuming you have left all defaults).

If you have changed anything in the config file remember to restart the SSH service.

sudo restart ssh 
PHP 7.1 with Win 10, XAMPP & SQLSRV Driver
Server Side Events with MySQL and PHP


No comments made yet. Be the first to submit a comment
Already Registered? Login Here
April 12, 2021

Captcha Image

By accepting you will be accessing a service provided by a third-party external to https://www.johnnyshongo.com/