The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Invalid Deployment Key

arnoldbird
April 10, 2013

When I try to add a deployment key, I get an "Invalid deployment key" error.

I'm locating the key on my host with this command: ssh-keyscan -t rsa bitbucket.org

I then paste the resulting key into Bitbucket's Add Key form. I've tried it both with and without the "bitbucket.org ssh-rsa" part of the output. Either way I get "Invalid deployment key".

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
m
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
April 10, 2013

Hi Ryan,

You don't say which OS you are using. ssh-keyscan is not something we recommend using. To get the key, you can just cat the public key contents and copy and paste:

cat ~/.ssh/id_rsa.pub

On Mac:

pbcopy < ~/.ssh/id_rsa.pub 
 

arnoldbird
April 15, 2013

Thanks. The cat command provided a key that worked. I'm on Ubuntu.

0 votes
arnoldbird
April 15, 2013

Thanks. The cat command provided a key that worked. I'm on Ubuntu.

TAGS
AUG Leaders

Atlassian Community Events