public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-user] [perhaps OT] ssh from Gentoo into a RedHat server
@ 2007-05-31 15:02 Mick
  0 siblings, 0 replies; 15+ messages in thread
From: Mick @ 2007-05-31 15:02 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1471 bytes --]


On 31/05/07, Mick <michaelkintzios@gmail.com> wrote:
> On Thursday 31 May 2007 13:14, Mauro Faccenda wrote:

> > you should try creating your key pair again with:
> >
> > $ ssh-keygen -t dsa
> 
> I would, but it seems to work fine with other servers, hence the point of this
> thread.  What I am going to try out nevertheless is generating an RSA key and
> see if the server accepts it.  Perhaps as Hans-Werner suggested the server
> may have been configured to only use dsa keys (I find this odd, but I don't
> know much about RH).

Not sure if this server has been configured to only use its own generated keys (is this possible?) because it will not accept a new RSA key of mine:

==========================================
debug1: Found key in /home/michael/.ssh/known_hosts:18
debug1: ssh_rsa_verify: signature correct
debug1: Enabling compression at level 6.
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,gssapi-with-mic,password
debug1: Next authentication method: publickey
debug1: Offering public key: .ssh/id_rsa
debug1: Authentications that can continue: publickey,gssapi-with-mic,password
debug1: Next authentication method: password
==========================================

It think it's high time I have words with the sysadmin - wish me luck.  ;-)

-- 
Regards,
Mick

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 1929 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread
* [gentoo-user] [perhaps OT] ssh from Gentoo into a RedHat server
@ 2007-05-30 19:57 Mick
  2007-05-30 20:12 ` Fabio
  2007-05-30 20:42 ` Mauro Faccenda
  0 siblings, 2 replies; 15+ messages in thread
From: Mick @ 2007-05-30 19:57 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1215 bytes --]

Hi All,

I am trying to ssh into a RH server (CentOS) using pubkey authentication and 
this is what I am getting back:
==============================
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,gssapi-with-mic,password
debug1: Next authentication method: publickey
debug1: Trying private key: /home/michael/.ssh/id_rsa
debug1: Offering public key: /home/michael/.ssh/id_dsa
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.  Second, my id_dsa 
is my private key not my public key.  My public key is id_dsa.pub

Is this a server configuration issue, or something to do with my Gentoo set 
up?

PS. Not sure if this is relevant but although my user name on the server is 
mick, for reasons better known to him the sysadmin has created my home 
directory as /home/mic - could it be that sshd is looking for /home/mick?
-- 
Regards,
Mick

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2007-06-01 10:15 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-31 15:02 [gentoo-user] [perhaps OT] ssh from Gentoo into a RedHat server Mick
  -- strict thread matches above, loose matches on Subject: below --
2007-05-30 19:57 Mick
2007-05-30 20:12 ` Fabio
2007-05-30 21:43   ` Mick
2007-05-30 20:42 ` Mauro Faccenda
2007-05-31 10:42   ` Mick
2007-05-31 12:14     ` Mauro Faccenda
2007-05-31 13:08       ` Randy Barlow
2007-05-31 13:22         ` Hans-Werner Hilse
2007-05-31 14:23       ` Mick
2007-05-31 12:38     ` Hans-Werner Hilse
2007-05-31 13:26       ` Mauro Faccenda
     [not found]       ` <200705311928.27355.michaelkintzios@gmail.com>
2007-05-31 18:55         ` Randy Barlow
2007-05-31 19:05         ` Hans-Werner Hilse
2007-06-01 10:03           ` Mick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox