stribika / stribika.github.io

307 stars 33 forks source link

Added the -N "" for host key generation #44

Closed moritzdietz closed 7 years ago

moritzdietz commented 8 years ago

When I was going through the document step by step, I found that it would be a good thing to either mention not to set a passphrase for the host key generation or just add the -N "" option for the host key generation to avoid accidental setup of a passphrase for the host keys rendering them unusable to sshd.

I am uncertain about the < /dev/null redirect. I have tested it ssh-keygen still outputs stdout to the shell. Or was there another reason for this to be there?

Any thoughts?