Installing and Enabling SSH

Written by

in

,

I’m just adding this here because every few months I need to install SSH on a Linux server. I end up googling it and going to some really annoying website with flashing ads.

Update and Install

sudo apt update
sudo apt upgrade
sudo apt install openssh-server
sudo systemctl status ssh

Status and Using

sudo systemctl start ssh
sudo systemctl stop ssh
sudo systemctl restart ssh

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *