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
projectcleverweb
289.2K
jjperezaguinaga
90.23K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#