Skip to content

Private key usage for ssh-cmd plugin #6188

Closed Answered by yesnault
noxPHX asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @noxPHX,

We recommend to install the key with worker key install command https://ovh.github.io/cds/docs/components/worker/key/install/ and the run ssh command in a step script too.
This will allow you to interact with ansible and other useful tools with a ssh connection.

The plugin plugin-ssh-cmd-cmd takes the content of the private key in argument. It's probably something that we don't want to recommend now as we can't use ssh key from app or project with it.

worker key install is the best way to use the keys on the projects/apps.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@noxPHX
Comment options

Answer selected by noxPHX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants