Hassle-free Jenkins SSH connection to GitHub
Do you set up your Jenkins machine using Chef, RightScale, or Puppet? Ever try to get Jenkins to connect to GitHub to pull changes but need to manually accept the SSH host every time you relaunch your machine?
Just add the equivalent of this to a startup script:
$ echo -e "Host github.com\n StrictHostKeyChecking=no" > ~<Jenkins user>/.ssh/config
Written by James Van Dyke
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Github
Authors
jjperezaguinaga
90.17K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#