WSL2: Ubuntu fails to start ssh server
Running sudo service ssh start fails with error message like below:
You should now able to able to start it, like:
Running sudo service ssh start fails with error message like below:
* Starting OpenBSD Secure Shell server sshdIt is failing because there are no keys generated in the system, to fix it do:
sshd: no hostkeys available -- exiting.
$: sudo ssh-keygen -A
$: sudo service ssh start
Comments