debug2: key_type_from_name: unknown key type ‘—–BEGIN’

Mysterious ssh public key authentication failure? Check /var/log/secure. You will probably see a permission problem such as that your home directory cannot be group writable (which is annoying).

A simple

$ chmod g-w ~

fixed this for me.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.