LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 04-14-2012, 03:29 AM   #1
deltrem
Member
 
Registered: Dec 2010
Posts: 36

Rep: Reputation: 0
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).

Last edited by deltrem; 04-14-2012 at 03:33 AM.
 
Old 04-14-2012, 03:36 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
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
or
ssh -l pedbessa bazaar.launchpad.net
Hope this helps.
 
Old 04-14-2012, 03:41 AM   #3
deltrem
Member
 
Registered: Dec 2010
Posts: 36

Original Poster
Rep: Reputation: 0
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).
 
Old 04-14-2012, 03:44 AM   #4
deltrem
Member
 
Registered: Dec 2010
Posts: 36

Original Poster
Rep: Reputation: 0
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).
 
Old 04-14-2012, 03:50 AM   #5
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
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.
 
Old 04-14-2012, 04:06 AM   #6
deltrem
Member
 
Registered: Dec 2010
Posts: 36

Original Poster
Rep: Reputation: 0
it worked!
thx a lot!
I want to be like the people who answer questions, so I'm going to study Linux.
bye
 
Old 04-14-2012, 04:09 AM   #7
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
You're welcome

BTW: Can you put up the [SOLVED] tag.
first post -> Thread Tools -> Mark this thread as solved
 
  


Reply

Tags
launchpad, ssh



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh - Permission Denied? vendtagain Linux - Newbie 4 11-21-2009 09:28 PM
SSH permission denied Issue sachinh Linux - General 7 09-09-2009 06:58 AM
SSH: Permission denied, please try again. sanatox Linux - Security 3 01-15-2007 09:47 PM
ssh -Permission denied zaphod_es Linux - Networking 4 05-21-2006 01:56 PM
SSH Permission Denied Chimney Linux - Security 1 11-10-2005 06:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration