I can't get public key authentication to work

  • Jordan Share

    Jordan Share - 2004-01-04

    I'm trying to figure out how to use private keys to authenticate.

    I created a keypair with puttygen, and put the public key into my ~/.ssh/authorized_keys2 file on the server I want to connect to.  Now, when I try to connect, I get:

    Using username "jshare"
    Authenticating with public key "dsa-key-20040103"
    Unable to load private key

    I'm sure it's just a matter of me not knowing the format for the keyfile, but I checked, and the one I pointed it at is identical to the one that puttygen saved out.

    Any ideas?


    • Richard Sierakowski

      I found that copying the Win PuTTY Private DSA cert over to the 9210i using Win File Manger and the Nokia serial cable caused the file format to be changed so that PuTTY on the 9210i did not recognise it.  Copying the PuTTY Private DSA cert to the MMC cards using a card reader conected to a Win system works OK for me.  Its a great uttility.



Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks