Ubuntu 20.04
sudo apt update sudo apt install openssh-server sudo systemctl status ssh sudo ufw allow ssh
CentOS 7
sudo yum –y install openssh-server openssh-clients sudo systemctl start sshd sudo systemctl status sshd systemctl stop sshd sudo systemctl enable sshd service sshd restart