CircleCI Ideas

Debug with SSH from API without Github/Bitbucket

Currently the only way of debugging a project via SSH is by using your public keys attached to a VCS such as Github or Bitbucket.

I am proposing an idea in which we can add our public keys used for debugging via SSH directly to CircleCI rather than using the public keys listed on Github and Bitbucket. I am aware the demand for this is quite low, however I think for certain individuals it can be greatly beneficial, like myself.

 

So essentially something like this:

curl -X POST --header “Content-Type: application/json” -d ‘{“type”:“public-user-key”}’ https://circleci.com/api/v1.1/project/:type/:username/:project/checkout-key?circle-token=:token

But obviously type replaced with CircleCI, instead of the conventional type being a VCS such as Github.

 

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Jul 28 2019
  • New
API
  • Attach files