Don’t worry this is easy to fix.
Log into your server, and enter this command.
sudo apt-get install openssh-server
As always you may need to re-enter your password.


When asked if you want to continue press Y and press enter.
Wait for the installation to complete, then reboot you server using this command.
sudo shutdown -r now

And that is it, all fixed!