Skip to content

Instantly share code, notes, and snippets.

@harivemula
Created May 20, 2020 13:26
Show Gist options
  • Save harivemula/e84818fb0d9887b0a1a89874b7f1ca78 to your computer and use it in GitHub Desktop.
Save harivemula/e84818fb0d9887b0a1a89874b7f1ca78 to your computer and use it in GitHub Desktop.

Enable SSH in Ubuntu 18.04

Install openssh server if not already installed.

sudo apt update
sudo apt install openssh-server

Check the status of the openssh-server, it should show Active: active (Running)

sudo systemctl status ssh

To enable firewall to allow ssh

sudo ufw allow ssh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment