Key-Based SSH Logins With PuTTY

Discussion in 'HOWTO-Related Questions' started by mattg, Jun 11, 2007.

  1. mattg

    mattg New Member

    Hi, I've followed to tutorial above, but when I try to connect with the key I get
    'Putty error: server unexpectedly closed network connection'
    If I get rid of the key, I can log in fine using the password.

    I've created a non-root account and I'm using Fedora core 6. I've tried with both authorized_keys and authorized_keys2

    Any ideas? I can't find a /var/log/auth.log (used to Debian)

  2. mattg

    mattg New Member


    I had my public key file on 3 lines. Needed to remove the line breaks after pasting.

Share This Page