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".
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks. The cat command provided a key that worked. I'm on Ubuntu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.