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

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/

1 Like

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

1 Like

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?

Yes it would… 20 chars

Awesome, I’ll try that out :smiley: