How can I get jenkins-cli.jar to use my ssh agent/keychain?

前端 未结 1 1735
南笙
南笙 2021-02-09 08:48

I\'m using the jenkins-cli.jar file from my jenkins server, and on every run it prompts me for my ssh key passphrase. I\'d like it to use my ssh keychain so I don\'t have to ent

相关标签:
1条回答
  • 2021-02-09 09:28

    Jenkins CLI client does not support SSH agents for now.

    As a workaround, you can generate dedicated key without passphrase, associate it with your Jenkins account and instruct client to use that key on every invocation.

    0 讨论(0)
提交回复
热议问题