Handle ssh key files that may only have a type/key specified

If a specified key did not have a comment, it would be ignored as
an invalid key.

Fixes #4513