This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: openssh authentification


On Fri, Oct 14, 2011 at 01:43:57PM -0500, Clayton Evans wrote:
> > > > > debug1: Next authentication method: publickey
> > > > > debug1: Offering RSA public key: /home/cevans/.ssh/id_rsa
> > > > > debug3: send_pubkey_test
> > > > > debug2: we sent a publickey packet, wait for reply
> > > > > debug1: Authentications that can continue: 
> > > > > publickey,password,keyboard-interactive
> > > > > debug1: Offering DSA public key: /home/cevans/.ssh/id_dsa
> > > > > debug3: send_pubkey_test
> > > > > debug2: we sent a publickey packet, wait for reply
> > > > > debug1: Authentications that can continue: 
> > > > > publickey,password,keyboard-interactive
> > > > > debug1: Offering ECDSA public key: /home/cevans/.ssh/id_ecdsa
> > > > > debug3: send_pubkey_test
> > > > > debug2: we sent a publickey packet, wait for reply
> > > > > debug1: Authentications that can continue: 
> > > > > publickey,password,keyboard-interactive
> > > > > debug2: we did not send a packet, disable method
> > > >
> > > > So all three of those keys were offered, but none were accepted.  Are the public keys for those in your ~/.ssh/authorized_keys file on the > server?
> > > 
> > > I copied the .ssh/authorized_keys file from the client to the host before the ssh -vvv jti031 was done.
> >
> > OK, but that's not exactly what I asked.  The question is, is one of those public keys (/home/cevans/.ssh/id_rsa.pub, /home/cevans/.ssh/id_dsa.pub, or /home/cevans/.ssh/id_ecdsa.pub from the client) in ~/.ssh/authorized_keys on the server?
> 
> No, the id_*.pub files were not copied.   
> 
> I have now copied all three id_*.pub files from the client to the host.  I have rerun 'ssh -vvv jti031' with identical results. (At least diff finds the results to be identical.)

I'd double-check StrictModes and PubkeyAuthentication in sshd_config.
Also, there's no need to copy around your pub keys manually, use
ssh-copy-id(1) for that.

-- 
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]