1 |
On Wednesday 30 May 2007 21:12, Fabio wrote: |
2 |
> Hello Mick mic ! :D |
3 |
> |
4 |
> On 30/05/07, Mick <michaelkintzios@×××××.com> wrote: |
5 |
> > Hi All, |
6 |
> > debug1: Next authentication method: publickey |
7 |
> > debug1: Trying private key: /home/michael/.ssh/id_rsa |
8 |
> > debug1: Offering public key: /home/michael/.ssh/id_dsa |
9 |
> |
10 |
> I am not sure if you know the publickey authentication method, so |
11 |
> there goes an unnecessary explanation: |
12 |
> |
13 |
> If you register the id_dsa.pub contents in the file |
14 |
> /home/mic/.ssh/authorized_keys in the server, then the publickey |
15 |
> authentication method returns success, what means, you enter the |
16 |
> server without typing your password. The debug messages suggest that |
17 |
> publickey method failed because you did not register the key. |
18 |
|
19 |
Thanks for the explanation. I had already created an authorized_keys file |
20 |
in /home/mic/.ssh and pasted my id_dsa.pub key in there. Then checked that |
21 |
there was nothing untoward in the /etc/ssh/sshd_config file and restarted the |
22 |
sshd service. |
23 |
|
24 |
> > debug1: Authentications that can continue: |
25 |
> > publickey,gssapi-with-mic,password debug1: Next authentication method: |
26 |
> > password |
27 |
> > ============================== |
28 |
> > |
29 |
> > I find it confusing. First of all I do not have a id_rsa. |
30 |
> |
31 |
> You can generate one with the command ssh-keygen and using the default |
32 |
> statements. |
33 |
|
34 |
Sure, but I don't need an rsa key. I am happy using my dsa key for now. |
35 |
|
36 |
> > Second, my id_dsa |
37 |
> > is my private key not my public key. My public key is id_dsa.pub |
38 |
> |
39 |
> No problem, ssh respects that completely. |
40 |
|
41 |
I know that it does. What I don't know is why the debug message |
42 |
says: "Offering public key: /home/michael/.ssh/id_dsa" when id_dsa is a |
43 |
private key. |
44 |
-- |
45 |
Regards, |
46 |
Mick |