How to enable SSH on Linux Mint

I installed Linux Mint again on my desktop PC yesterday. To access its SSH, I need to do the following.

sudo apt update
sudo apt install -y openssh-server

Now make sure your Linux Mint has port 22 (for SSH) open.

sudo apt install ufw
sudo ufw allow ssh
sudo ufw enable
sudo ufw reload

Now you can SSH into Linux Mint from another machine.

Author: admin

A software engineer in greater Seattle area

Leave a Reply

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