1 |
On Thursday 31 May 2007 13:14, Mauro Faccenda wrote: |
2 |
> On Thursday 31 May 2007 07:42, Mick wrote: |
3 |
> > On Wednesday 30 May 2007 21:42, Mauro Faccenda wrote: |
4 |
[snip] |
5 |
> > debug1: Offering public key: /home/michael/.ssh/id_dsa |
6 |
> > debug1: Authentications that can continue: |
7 |
> > publickey,gssapi-with-mic,password debug1: Next authentication method: |
8 |
> > password |
9 |
> > ====================================== |
10 |
> |
11 |
> that's strange. |
12 |
> |
13 |
> which version of openssh do you use in the server and the client? |
14 |
> mine: |
15 |
> client: OpenSSH_4.5p1 |
16 |
> server: OpenSSH_4.4p1 |
17 |
|
18 |
Installed versions: 4.5_p1-r1(19:45:58 02/23/07) |
19 |
(X -X509 -chroot -hpn -kerberos ldap -libedit |
20 |
pam -selinux -skey -smartcard -static tcpd) |
21 |
|
22 |
> > That's right, so why does it: |
23 |
> > ====================================== |
24 |
> > debug1: Trying private key: /home/michael/.ssh/id_rsa <--this doesn't |
25 |
> > exist debug1: Offering public key: /home/michael/.ssh/id_dsa <--this is |
26 |
> > my private key |
27 |
> > ====================================== |
28 |
> |
29 |
> i didn't noticed this line... really strange. |
30 |
> |
31 |
> how your id_dsa was created? is it corrupted or does it has a public key on |
32 |
> it instead? |
33 |
|
34 |
It was created with 'ssh-keygen -t dsa'. |
35 |
|
36 |
> you should try creating your key pair again with: |
37 |
> |
38 |
> $ ssh-keygen -t dsa |
39 |
|
40 |
I would, but it seems to work fine with other servers, hence the point of this |
41 |
thread. What I am going to try out nevertheless is generating an RSA key and |
42 |
see if the server accepts it. Perhaps as Hans-Werner suggested the server |
43 |
may have been configured to only use dsa keys (I find this odd, but I don't |
44 |
know much about RH). |
45 |
|
46 |
> i would like to see the content of this file (or, at least the "headers"), |
47 |
> but its a PRIVATE key. ;) |
48 |
> |
49 |
> the "headers" of mine: |
50 |
> |
51 |
> -----BEGIN DSA PRIVATE KEY----- |
52 |
> Proc-Type: 4,ENCRYPTED |
53 |
> DEK-Info: DES-EDE3-CBC,933FEB2C1C691496 |
54 |
|
55 |
This is mine: |
56 |
|
57 |
-----BEGIN DSA PRIVATE KEY----- |
58 |
Proc-Type: 4,ENCRYPTED |
59 |
DEK-Info: DES-EDE3-CBC, XXXXXXXXXXX[snip] |
60 |
|
61 |
-- |
62 |
Regards, |
63 |
Mick |