If you elect not to install OpenSSH at the installation stage of Ubuntu Server, you must install and configure it once the server is deployed. The following commands can be used to achieve this:
sudo apt-get install openssh-server
sudo systemctl enable ssh
sudo systemctl start ssh
sudo apt-get install openssh-server
sudo systemctl enable ssh
sudo systemctl start ssh