ssh permission denied, different usernames, quick question
I'm trying to download a repository to my computer. I'm using ssh. My username is deltrem in my computer and pedbessa in launchpad.
ssh -v bazaar.launchpad.net important part: debug1: Offering RSA public key: /home/deltrem/.ssh/id_rsa No such Launchpad account: deltrem How do I make launchpad accept that my username is deltrem in my computer and pedbessa in launchpad? ssh -v bazaar.launchpad.net all parts: deltrem@deltrem-linux-ubuntu:~/.bazaar/plugins$ ssh -v bazaar.launchpad.net OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug1: Connecting to bazaar.launchpad.net [91.189.90.11] port 22. debug1: Connection established. debug1: identity file /home/deltrem/.ssh/id_rsa type 1 debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048 debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048 debug1: identity file /home/deltrem/.ssh/id_rsa-cert type -1 debug1: identity file /home/deltrem/.ssh/id_dsa type -1 debug1: identity file /home/deltrem/.ssh/id_dsa-cert type -1 debug1: identity file /home/deltrem/.ssh/id_ecdsa type -1 debug1: identity file /home/deltrem/.ssh/id_ecdsa-cert type -1 debug1: Remote protocol version 2.0, remote software version Twisted debug1: no match: Twisted debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1 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_KEXDH_INIT debug1: expecting SSH2_MSG_KEXDH_REPLY debug1: Server host key: RSA 9d:38:3a:63:b1:d5:6f:c4:44:67:53:49:2e:ee:fc:89 debug1: Host 'bazaar.launchpad.net' is known and matches the RSA host key. debug1: Found key in /home/deltrem/.ssh/known_hosts:1 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/deltrem/.ssh/id_rsa No such Launchpad account: deltrem debug1: Authentications that can continue: publickey debug1: Trying private key: /home/deltrem/.ssh/id_dsa debug1: Trying private key: /home/deltrem/.ssh/id_ecdsa debug1: No more authentication methods to try. Permission denied (publickey). |
Hi,
You need to log in as pedbessa on launchpad. If I understand correctly there is no user called deltrem on launchpad. Code:
ssh pedbessa@bazaar.launchpad.net |
I have just tried:
ssh -l pedbessa bazaar.launchpad.net but I got the same error message: in part debug1: Offering RSA public key: /home/deltrem/.ssh/id_rsa No such Launchpad account: deltrem in full OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug1: Connecting to bazaar.launchpad.net [91.189.90.11] port 22. debug1: Connection established. debug1: identity file /home/deltrem/.ssh/id_rsa type 1 debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048 debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048 debug1: identity file /home/deltrem/.ssh/id_rsa-cert type -1 debug1: identity file /home/deltrem/.ssh/id_dsa type -1 debug1: identity file /home/deltrem/.ssh/id_dsa-cert type -1 debug1: identity file /home/deltrem/.ssh/id_ecdsa type -1 debug1: identity file /home/deltrem/.ssh/id_ecdsa-cert type -1 debug1: Remote protocol version 2.0, remote software version Twisted debug1: no match: Twisted debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1 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_KEXDH_INIT debug1: expecting SSH2_MSG_KEXDH_REPLY debug1: Server host key: RSA 9d:38:3a:63:b1:d5:6f:c4:44:67:53:49:2e:ee:fc:89 debug1: Host 'bazaar.launchpad.net' is known and matches the RSA host key. debug1: Found key in /home/deltrem/.ssh/known_hosts:1 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/deltrem/.ssh/id_rsa No such Launchpad account: deltrem debug1: Authentications that can continue: publickey debug1: Trying private key: /home/deltrem/.ssh/id_dsa debug1: Trying private key: /home/deltrem/.ssh/id_ecdsa debug1: No more authentication methods to try. Permission denied (publickey). |
the part that was missing
deltrem@deltrem-linux-ubuntu:~$ ssh -l pedbessa bazaar.launchpad.net Agent admitted failure to sign using the key. Permission denied (publickey). |
Hi,
This could be a bug: ssh Agent admitted failure to sign using the key on big endian machines Its a long post, started in 2008 but it still seems to be valid (last posts are from 2012). Do have a look at it, some user seem to have found workarounds (setting SSH_AUTH_SOCK = 0 seems to work). Hope this helps. |
it worked!
thx a lot! I want to be like the people who answer questions, so I'm going to study Linux. bye |
You're welcome :)
BTW: Can you put up the [SOLVED] tag. first post -> Thread Tools -> Mark this thread as solved |
All times are GMT -5. The time now is 03:17 AM. |