Oliver asked this question · 6 karma · Feb 04 '13 at 05:30 PM
Hey, I'd like to define an SSH key for my Bitbucket repo access which would be allowed to push from a particular fixed IP (or even a range), but no other. Is that possible?
The rationale here is that I need to automate pushing to the Bitbucket repos for some repos of which the master is located elsewhere. However, I will not upload my unsecured private key to the machine doing this updating. Instead I'd like to create some key and limit its scope. The private key used in automation will obviously have to be without a passphrase.
I know that .ssh/authorized_keys (as used by OpenSSH) allows exactly this behavior, so I am hoping Bitbucket somehow allows to make use of this feature.
Please note: this question is about the Bitbucket service. I do know how to implement this if I have full control of the server-side.