enable ssh on ubuntu and connect via mac terminal

on ubuntu in terminal

#update before installing anything
sudo apt update

#install ssh
sudo apt install openssh-server

#check status of ssh
sudo systemctl status ssh

#open firewall
sudo ufw allow ssh
or
sudo ufw allow 22

on mac in terminal 

ssh username@computername

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.