Welcome to the ssh ubuntu guide
Installing SSH on Linux:
Check to see if ssh is installed
sudo apt list --installed | grep "ssh"
If the command outputs a lot of packages then I would suggest executing the command below
If the terminal outputs nothing then it is not installed and you must manually installed it like so:
Installing SSH
sudo apt-get install openssh-server
If that command does not work, meaning it does not install that package on your system, then you can proceed to creating ssh keys Or to be on the safe side, you can execute the command below to see all the ssh packages
Searching for SSH packages
sudo apt cache search ssh
SSH into a client or server
You can ssh into clients and other terminals as long as you have their IP address and their port is open which is port 80. The general syntax would be this:
ssh [username]@[server IP]
You can look at this guide if you are still confused

