From: Eric Martin <freak4uxxx@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Cannot login with publickey on sshd
Date: Sun, 30 Nov 2008 23:27:14 -0500 [thread overview]
Message-ID: <493367A2.5020309@gmail.com> (raw)
In-Reply-To: <200811291228.19196.michaelkintzios@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1724 bytes --]
Mick wrote:
> On Saturday 29 November 2008, Eric Martin wrote:
>
>> Mick wrote:
>>
>>> Hi All,
>>>
>>> For some reason my Gentoo rsa public key is not liked by 3.9p1-11.el4_7
>>> sshd, which is running on a CentOS server. On the Gentoo machine I am
>>> running net-misc/openssh-5.1_p1-r1. This is what it shows:
>>> ===================================================
>>> debug1: fd 3 clearing O_NONBLOCK
>>> debug1: Connection established.
>>> debug3: timeout: 14835 ms remain after connect
>>> debug3: Not a RSA1 key file /home/michael/.ssh/id_rsa.
>>> debug2: key_type_from_name: unknown key type '-----BEGIN'
>>>
>> It sounds like you're using a pgp public key, is this on purpose?
>> AFAIK, you need to convert pgp keys -> openssh keys before you use
>> them. Have you tried making a public key via ssh-keygen?
>>
>
> Thanks Eric,
>
> The "------BEGIN" string is I believe from the private key generated using
> ssh-keygen. If looks like this:
> =================================================
>
> -----BEGIN RSA PRIVATE KEY-----
> Proc-Type: 4,ENCRYPTED
> DEK-Info: DES-EDE3-CBC, XXXXXXXXXXXX
>
> XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
> XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX... etc.
> =================================================
>
> where "XXXXX" is the hash of the key.
>
> The public key starts with:
> =================================================
> ssh-rsa XXXXXXXXXXXXXXXXXXXXX...etc
> =================================================
>
> As I mentioned the same ssh key pair seems to work fine with other servers.
>
What did you use to generate the key? Also, what does the client /
server say for the key fail?
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
next prev parent reply other threads:[~2008-12-01 4:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-28 23:53 [gentoo-user] Cannot login with publickey on sshd Mick
2008-11-29 5:28 ` Eric Martin
2008-11-29 12:27 ` Mick
2008-12-01 4:27 ` Eric Martin [this message]
2008-12-01 6:53 ` Mick
2008-12-02 6:35 ` Mick
2008-12-18 13:14 ` Eric Martin
2008-12-18 21:17 ` Mick
2008-12-18 21:34 ` Alan McKinnon
2008-12-18 22:59 ` Eric Martin
2008-12-19 6:28 ` Mick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=493367A2.5020309@gmail.com \
--to=freak4uxxx@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox