On Wednesday 30 May 2007 21:12, Fabio wrote: > Hello Mick mic ! :D > > On 30/05/07, Mick <[EMAIL PROTECTED]> wrote: > > Hi All, > > debug1: Next authentication method: publickey > > debug1: Trying private key: /home/michael/.ssh/id_rsa > > debug1: Offering public key: /home/michael/.ssh/id_dsa > > I am not sure if you know the publickey authentication method, so > there goes an unnecessary explanation: > > If you register the id_dsa.pub contents in the file > /home/mic/.ssh/authorized_keys in the server, then the publickey > authentication method returns success, what means, you enter the > server without typing your password. The debug messages suggest that > publickey method failed because you did not register the key.
Thanks for the explanation. I had already created an authorized_keys file in /home/mic/.ssh and pasted my id_dsa.pub key in there. Then checked that there was nothing untoward in the /etc/ssh/sshd_config file and restarted the sshd service. > > debug1: Authentications that can continue: > > publickey,gssapi-with-mic,password debug1: Next authentication method: > > password > > ============================== > > > > I find it confusing. First of all I do not have a id_rsa. > > You can generate one with the command ssh-keygen and using the default > statements. Sure, but I don't need an rsa key. I am happy using my dsa key for now. > > Second, my id_dsa > > is my private key not my public key. My public key is id_dsa.pub > > No problem, ssh respects that completely. I know that it does. What I don't know is why the debug message says: "Offering public key: /home/michael/.ssh/id_dsa" when id_dsa is a private key. -- Regards, Mick
pgpFTN0iZwyWX.pgp
Description: PGP signature