Press Windows key, search for 'Optional features'. Search for and install 'OpenSSH Server'
OpenSSH Server configuration for Windows Server and Windows
Key-based authentication in OpenSSH for Windows
Press Windows key, search for 'Optional features'. Search for and install 'OpenSSH Server'
OpenSSH Server configuration for Windows Server and Windows
Key-based authentication in OpenSSH for Windows
sshd: no hostkeys available -- exiting
https://www.garron.me/en/linux/sshd-no-hostkeys-available-exiting.html
I only needed to run
ssh-keygen -A
In the /etc/ssh/ folder, and the start the server
/etc/init.d/ssh start