sudo apt update
sudo apt install openssh-server
verify that the installation was successful and SSH service is running type the following command which will print the SSH server status:
sudo systemctl status ssh
sudo apt update
sudo apt install openssh-server
verify that the installation was successful and SSH service is running type the following command which will print the SSH server status:
sudo systemctl status ssh