What is the BitBucket equivalent to getting SSH keys like `github.com/user.keys`


#1

I’m trying to set up my Trellis for deployment and I’m hosting my private repo on BitBucket.

This StackOverflow answer is closest to what I found but it is not working for me as a solution.

I can’t find any mention of BitBucket in the docs or other tutorials: https://roots.io/trellis/docs/ssh-keys/


#2

How do you mean it’s not working?

The links in that StackOverflow question seem out of date… did you authenticate your request? https://confluence.atlassian.com/bitbucket/use-the-bitbucket-cloud-rest-apis-222724129.html#UsetheBitbucketCloudRESTAPIs-Authentication

New doc link to getting SSH keys: https://confluence.atlassian.com/bitbucket/ssh-keys-resource-296911735.html#ssh-keysResource-GET/users/{accountname}/ssh-keys


#3

Considering I’m using the same keys in my BitBucket account as my in my Github account, it should work if I use the github.com/username.keys url, right?


#4

Yes it would… 20 chars


#5

Awesome, I’ll try that out :smiley: