Public Key Authentication won't!

From: Bill Walsh (bwalsh3@ix.netcom.com)
Date: 01/29/02


From: Bill Walsh <bwalsh3@ix.netcom.com>
Date: Mon, 28 Jan 2002 17:26:57 -0800

I'm trying to get public key authentication going to the point where it
will prompt me for a passphrase instead of an account password.
Password authentication works fine. The public an private keys are
generated by The Book and installed, public and private keys in my
client machine (at /home/bill/.ssh/id_dsa )and public key in my ISP's
server at ~/.ssh/authorized_keys2. The server is using SSH Secure Shell
2.40 and I am using OpenSSH with protocol 2.

Before I installed the public & private keys I could use ssh and scp
fine logging on with the account password. Now that I have the keys
installed I am still prompted for my account password.
 Using the verbose option to ssh the messages end like this:

    authentications that can continue: publickey, password
    next aut method to try is publickey
    try priv key: /home/bill/.ssh/identity
    try priv key:/home/bill/.ssh/id_rsa
    try priv key:/home/bill/.ssh/id_dsa
    Authentications that can continue: publickey, password
    next aut method to try is password
    password:

The file id_dsa is in place in my client. The id_dsa file owner and
group are my local user account (different user name than in remote).
Permissions are 644. I'm thinking the problem is in my local/client
machine since the server is trying different types of private keys.

Any help appreciated,
Bill



Relevant Pages

  • Re: Public Key Authentication wont!
    ... > I'm trying to get public key authentication going to the point where it ... > will prompt me for a passphrase instead of an account password. ... The public an private keys are ... publickey, ...
    (comp.security.ssh)
  • Storing PublicKey and PrivateKey in a program
    ... Public/Private keys in a program? ... private final PublicKey publicKey = some gibberish goes here ... private final PrivateKey privateKey = some more gibberish goes here ...
    (comp.lang.java.help)
  • ssh version 1 ok - ssh version 2 not ok
    ... I had generated 2 keys: ... debug1: next auth method to try is publickey ... Permission denied (publickey) ...
    (RedHat)