www-infrastructure-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geoffrey Corey (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (INFRA-9799) Helo to log in to minotaur.apache.org
Date Thu, 11 Jun 2015 16:33:00 GMT

    [ https://issues.apache.org/jira/browse/INFRA-9799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14581495#comment-14581495
] 

Geoffrey Corey edited comment on INFRA-9799 at 6/11/15 4:32 PM:
----------------------------------------------------------------

The format of your ssh public is incorrect:

Yours:
coreyg@minotaur:~$ ldapsearch -x -LLL uid=ppoddar sshPublicKey
dn: uid=ppoddar,ou=people,dc=apache,dc=org
sshPublicKey: ---- BEGIN SSH2 PUBLIC KEY ---- Comment: "rsa-key-20150610" AAAA
 B3NzaC1yc2EAAAABJQAAAIEAnyzbEVozVk3HY+/+CVAdnTIbcDHmw6a7Lj3V eFMcBYYVGeuDkiUb
 TLnsVLLgywHL8Tg0APkM9gkQ+uBkQDH9wnwM7XJSU7FUSru5 32thNHJ0JXdYr5w+slLMgY2CWfBF
 2tpUMn/xXhg2SIVGGGr6Dnuav6lGUvPM5AaZ Hs1LLAM= ---- END SSH2 PUBLIC KEY ----

(mine for example)
coreyg@minotaur:~$ ldapsearch -x -LLL uid=coreyg sshPublicKey
dn: uid=coreyg,ou=people,dc=apache,dc=org
sshPublicKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDHYMoa75Fk4lADlvuvYOhk1qsR
 H29YGL+KBNpEjkuW+lVJynzhXsXTPvRiuqSleB9ewryLl5qn3ONrj1sb4efWKuYa9nan8LYwiJcgk
 nZtUKOCmaf1cL9aDMSBdy/qPqZSd3IMuy1zzYmJcSrMSkZlElwq1bEGlUdL5oIp8Tj/bxMAacneBq
 ax6n/tvgq4XhlQvt8yrPFNSwslOyAgbsDsaUoIT6MGzzm+LHlN+fOD7oMAkWM7hyRV3fXE4QsKmcL
 I+gQEjaQ9n8jcVWWKG81/br+69qgbK86gbf/laqWpxCyRlrvUZojwjiNSBz5lKt5xdgBPBPaBGrPe
 t9+oJ5C8MZFr8evPx8iwSA452GC7/Te99Nf+5PHNqIM3hotG7dlM+NYJfVDVEqOTwc2pTF6FSi05q
 jym9Ikg9XUD3OB1YqfV/axBThU3LTuY3353YmDDvIKKU+HrCzDbkCPb1Yo9VTi6r6c4nXP1iHT4BV
 V39Tr+TohajfPB917KogOC4BeMFKjhZXtd+SUHYLvSnI3sFaX18Mi3jNI87Jcvcd0FcnrDM9QXqgN
 ZzP7DBzzmFnjAal7ptiB/G8G/T/BQADVGd0g8W8s0wVOBkKZmFGG7TGCxjN8/gLIdi6cecFK46BXR
 ZwPNz+H/lZCjdN9CWkOQjNhBQF6J6f36RWTCmnQk1Q== laptop -> apache

First thing, what is the bitsize size of your key? and secondly, this would be the proper
format of your ssh public key:
ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAnyzbEVozVk3HY+/+CVAdnTIbcDHmw6a7Lj3V eFMcBYYVGeuDkiUbTLnsVLLgywHL8Tg0APkM9gkQ+uBkQDH9wnwM7XJSU7FUSru5
32thNHJ0JXdYr5w+slLMgY2CWfBF2tpUMn/xXhg2SIVGGGr6Dnuav6lGUvPM5AaZ Hs1LLAM==

And third thing, what tool did you use to create your ssh key?


was (Author: coreyg):
The format of your ssh public is incorrect:

Yours:
coreyg@minotaur:~$ ldapsearch -x -LLL uid=ppoddar sshPublicKey
dn: uid=ppoddar,ou=people,dc=apache,dc=org
sshPublicKey: ---- BEGIN SSH2 PUBLIC KEY ---- Comment: "rsa-key-20150610" AAAA
 B3NzaC1yc2EAAAABJQAAAIEAnyzbEVozVk3HY+/+CVAdnTIbcDHmw6a7Lj3V eFMcBYYVGeuDkiUb
 TLnsVLLgywHL8Tg0APkM9gkQ+uBkQDH9wnwM7XJSU7FUSru5 32thNHJ0JXdYr5w+slLMgY2CWfBF
 2tpUMn/xXhg2SIVGGGr6Dnuav6lGUvPM5AaZ Hs1LLAM= ---- END SSH2 PUBLIC KEY ----

(mine for example)
coreyg@minotaur:~$ ldapsearch -x -LLL uid=coreyg sshPublicKey
dn: uid=coreyg,ou=people,dc=apache,dc=org
sshPublicKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDHYMoa75Fk4lADlvuvYOhk1qsR
 H29YGL+KBNpEjkuW+lVJynzhXsXTPvRiuqSleB9ewryLl5qn3ONrj1sb4efWKuYa9nan8LYwiJcgk
 nZtUKOCmaf1cL9aDMSBdy/qPqZSd3IMuy1zzYmJcSrMSkZlElwq1bEGlUdL5oIp8Tj/bxMAacneBq
 ax6n/tvgq4XhlQvt8yrPFNSwslOyAgbsDsaUoIT6MGzzm+LHlN+fOD7oMAkWM7hyRV3fXE4QsKmcL
 I+gQEjaQ9n8jcVWWKG81/br+69qgbK86gbf/laqWpxCyRlrvUZojwjiNSBz5lKt5xdgBPBPaBGrPe
 t9+oJ5C8MZFr8evPx8iwSA452GC7/Te99Nf+5PHNqIM3hotG7dlM+NYJfVDVEqOTwc2pTF6FSi05q
 jym9Ikg9XUD3OB1YqfV/axBThU3LTuY3353YmDDvIKKU+HrCzDbkCPb1Yo9VTi6r6c4nXP1iHT4BV
 V39Tr+TohajfPB917KogOC4BeMFKjhZXtd+SUHYLvSnI3sFaX18Mi3jNI87Jcvcd0FcnrDM9QXqgN
 ZzP7DBzzmFnjAal7ptiB/G8G/T/BQADVGd0g8W8s0wVOBkKZmFGG7TGCxjN8/gLIdi6cecFK46BXR
 ZwPNz+H/lZCjdN9CWkOQjNhBQF6J6f36RWTCmnQk1Q== laptop -> apache

First thing, what is the bitsize size of your key? and secondly, this would be the proper
format of your ssh public key:
ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAnyzbEVozVk3HY+/+CVAdnTIbcDHmw6a7Lj3V eFMcBYYVGeuDkiUbTLnsVLLgywHL8Tg0APkM9gkQ+uBkQDH9wnwM7XJSU7FUSru5
32thNHJ0JXdYr5w+slLMgY2CWfBF2tpUMn/xXhg2SIVGGGr6Dnuav6lGUvPM5AaZ Hs1LLAM==

And third thing, what too did you use to create your ssh key?

> Helo to log in to minotaur.apache.org
> -------------------------------------
>
>                 Key: INFRA-9799
>                 URL: https://issues.apache.org/jira/browse/INFRA-9799
>             Project: Infrastructure
>          Issue Type: Bug
>            Reporter: Pinaki Poddar
>            Assignee: Geoffrey Corey
>
> I am having credential issues to log in to minotaur. Here is a trace of ssh log in session,
if you can help...
> (done adding key to LDAP via https://id.people.org, but can you please confirm?)
> C:\Users\ppoddar\.ssh>ssh -v minotaur.apache.org -l ppoddar
> OpenSSH_4.6p1, OpenSSL 0.9.8e 23 Feb 2007
> debug1: Connecting to minotaur.apache.org [140.211.11.9] port 22.
> debug1: Connection established.
> debug1: identity file /.ssh/identity type -1
> debug1: identity file /.ssh/id_rsa type -1
> debug1: identity file /.ssh/id_dsa type -1
> debug1: Remote protocol version 2.0, remote software version OpenSSH_5.8p2-hpn13v11 FreeBSD-o
> debug1: match: OpenSSH_5.8p2-hpn13v11 FreeBSD-openssh-portable-5.8.p2_5,1 pat OpenSSH*
> debug1: Enabling compatibility mode for protocol 2.0
> debug1: Local version string SSH-2.0-OpenSSH_4.6
> debug1: SSH2_MSG_KEXINIT sent
> debug1: SSH2_MSG_KEXINIT received
> debug1: kex: server->client aes128-cbc hmac-md5 none
> debug1: kex: client->server aes128-cbc hmac-md5 none
> debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
> debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
> debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
> debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
> debug1: Host 'minotaur.apache.org' is known and matches the RSA host key.
> debug1: Found key in /.ssh/known_hosts:2
> debug1: ssh_rsa_verify: signature correct
> 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
> Note: logging in to this server with a password has been disabled.
> Please see : https://blogs.apache.org/infra/entry/committer_shell_access_to_people
> Remember to load your ssh key:-
> See: http://linux.die.net/man/1/ssh-add
> See: http://linux.die.net/man/1/ssh-agent
> debug1: Authentications that can continue: publickey
> debug1: Next authentication method: publickey
> debug1: Trying private key: /.ssh/identity
> debug1: Trying private key: /.ssh/id_rsa
> debug1: Trying private key: /.ssh/id_dsa
> debug1: No more authentication methods to try.
> Permission denied (publickey).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message