Thursday, 18 May 2017

concourse: Private keys with passphrases are not supported.

if you see below error:

Private keys with passphrases are not supported.


solution:

generate new github ssh.




useful shell command:

copy key:


pbcopy < ~/.ssh/newgithub





useful links:


  • Create github key:

https://help.github.com/articles/checking-for-existing-ssh-keys/




  • Use var in yam for private key to get right format:


https://concourse.ci/fly-set-pipeline.html
private_key: {{private-repo-key}}
fly -t example set-pipeline --pipeline my-pipeline --config pipeline.yml --var "private-repo-key=$(cat id_rsa)"

  • all about github
https://github.com/concourse/git-resource/blob/master/README.md


No comments:

Post a comment