Trying to start an ssh server. When you encounter this error:

Here is the solution:

If you dont have the -A option which generates the host keys, you can generate them like so:

Technically the above commands are overkill as I ask for dsa, rsa and ecdsa keys when in reality 1 or 2 will do. But in the end having all 3 keys doesnt hurt.

Link to check out

The end.

Leave a Reply

Your email address will not be published. Required fields are marked *