Gentoo Archives: gentoo-user

From: Fabio <facorread@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [perhaps OT] ssh from Gentoo into a RedHat server
Date: Wed, 30 May 2007 20:19:17
Message-Id: ec2083b20705301312r1d94482duc3d6e649f6cb1c4@mail.gmail.com
In Reply to: [gentoo-user] [perhaps OT] ssh from Gentoo into a RedHat server by Mick
1 Hello Mick mic ! :D
2
3 On 30/05/07, Mick <michaelkintzios@×××××.com> wrote:
4 > Hi All,
5 > debug1: Next authentication method: publickey
6 > debug1: Trying private key: /home/michael/.ssh/id_rsa
7 > debug1: Offering public key: /home/michael/.ssh/id_dsa
8 I am not sure if you know the publickey authentication method, so
9 there goes an unnecessary explanation:
10
11 If you register the id_dsa.pub contents in the file
12 /home/mic/.ssh/authorized_keys in the server, then the publickey
13 authentication method returns success, what means, you enter the
14 server without typing your password. The debug messages suggest that
15 publickey method failed because you did not register the key.
16
17 > debug1: Authentications that can continue: publickey,gssapi-with-mic,password
18 > debug1: Next authentication method: password
19 > ==============================
20 >
21 > I find it confusing. First of all I do not have a id_rsa.
22 You can generate one with the command ssh-keygen and using the default
23 statements.
24
25 > Second, my id_dsa
26 > is my private key not my public key. My public key is id_dsa.pub
27 No problem, ssh respects that completely.
28
29 > Is this a server configuration issue, or something to do with my Gentoo set
30 > up?
31 >
32 > PS. Not sure if this is relevant but although my user name on the server is
33 > mick, for reasons better known to him the sysadmin has created my home
34 > directory as /home/mic - could it be that sshd is looking for /home/mick?
35 sshd looks into /home/mic on the server side.
36
37 > Regards,
38 > Mick
39
40 Cheers!
41
42
43 --
44 Fabio A. Correa D.
45
46 Physics Dept, Universidad Nacional, Bogota, Colombia
47 facorread@×××××.com
48 ffaaccdd@××××××××.uk facorread@××××××××.co
49 My webpage and OpenPGP key at http://facorread.150m.com
50 My alexandria.cc address is not available anymore.
51 --
52 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] [perhaps OT] ssh from Gentoo into a RedHat server Mick <michaelkintzios@×××××.com>