You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Carl Marcum (JIRA)" <ji...@apache.org> on 2014/12/09 21:22:12 UTC

[jira] [Resolved] (INFRA-8827) ssh attempt to people.apache.org results in Permission denied (publickey)

     [ https://issues.apache.org/jira/browse/INFRA-8827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carl Marcum resolved INFRA-8827.
--------------------------------
    Resolution: Fixed

generating the keys is not enought. ssh-add is needed.

> ssh attempt to people.apache.org results in Permission denied (publickey)
> -------------------------------------------------------------------------
>
>                 Key: INFRA-8827
>                 URL: https://issues.apache.org/jira/browse/INFRA-8827
>             Project: Infrastructure
>          Issue Type: Task
>          Components: LDAP
>         Environment: Fedora 20, Bash, OpenSSH
>            Reporter: Carl Marcum
>
> I created new ssh keys with ssh-keygen. Added contents of id_rsa.pub to https://id.apache.org. waited 10 minutes and attempted to connect.
> [carl@cb-6 ~]$ ssh -v -l cmarcum people.apache.org
> OpenSSH_6.4, OpenSSL 1.0.1e-fips 11 Feb 2013
> debug1: Reading configuration data /home/carl/.ssh/config
> debug1: /home/carl/.ssh/config line 7: Deprecated option "fallbacktorsh"
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: /etc/ssh/ssh_config line 51: Applying options for *
> debug1: Connecting to people.apache.org [140.211.11.9] port 22.
> debug1: Connection established.
> debug1: identity file /home/carl/.ssh/id_rsa type 1
> debug1: identity file /home/carl/.ssh/id_rsa-cert type -1
> debug1: identity file /home/carl/.ssh/id_dsa type -1
> debug1: identity file /home/carl/.ssh/id_dsa-cert type -1
> debug1: identity file /home/carl/.ssh/id_ecdsa type -1
> debug1: identity file /home/carl/.ssh/id_ecdsa-cert type -1
> debug1: Enabling compatibility mode for protocol 2.0
> debug1: Local version string SSH-2.0-OpenSSH_6.4
> debug1: Remote protocol version 2.0, remote software version OpenSSH_5.8p2-hpn13v11 FreeBSD-openssh-portable-5.8.p2_5,1
> debug1: match: OpenSSH_5.8p2-hpn13v11 FreeBSD-openssh-portable-5.8.p2_5,1 pat OpenSSH_5*
> debug1: SSH2_MSG_KEXINIT sent
> debug1: SSH2_MSG_KEXINIT received
> debug1: kex: server->client aes128-ctr hmac-md5 none
> debug1: kex: client->server aes128-ctr hmac-md5 none
> debug1: sending SSH2_MSG_KEX_ECDH_INIT
> debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
> debug1: Server host key: RSA 51:85:7d:8f:57:54:e7:6f:27:26:98:7a:c7:c1:47:87
> debug1: Host 'people.apache.org' is known and matches the RSA host key.
> debug1: Found key in /home/carl/.ssh/known_hosts:7
> debug1: ssh_rsa_verify: signature correct
> debug1: SSH2_MSG_NEWKEYS sent
> debug1: expecting SSH2_MSG_NEWKEYS
> debug1: SSH2_MSG_NEWKEYS received
> debug1: Roaming not allowed by server
> debug1: SSH2_MSG_SERVICE_REQUEST sent
> debug1: SSH2_MSG_SERVICE_ACCEPT received
> debug1: Authentications that can continue: publickey
> debug1: Next authentication method: publickey
> debug1: Offering RSA public key: /home/carl/.ssh/id_rsa
> debug1: Server accepts key: pkalg ssh-rsa blen 279
> Agent admitted failure to sign using the key.
> debug1: Trying private key: /home/carl/.ssh/id_dsa
> debug1: Trying private key: /home/carl/.ssh/id_ecdsa
> debug1: No more authentication methods to try.
> Permission denied (publickey).



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