Auto Authorize SSH Auth Requests on Travis CI -


i'm doing in build output in travis tests. hangs since test cannot accept or decline, , test fails:

the authenticity of host 'heroku.com (50.19.85.154)' can't established. rsa key fingerprint 8b:48:5e:67:0e:c9:16:47:32:f2:87:0c:1blah. sure want continue connecting (yes/no)?  

i had similar problem github.com changed read urls. instead of dealing problem every x.com hosts git repo, there way have travis auto authorize auth request via ssh made? can locally via this: http://debuggable.com/posts/disable-strict-host-checking-for-git-clone:49896ff3-0ac0-4263-9703-1eae4834cda3 possible set on travis?

ok, think figured out. 1 option add lines ~/.ssh/config in before_script this:

before_script:   - echo -e "host heroku.com\n\tstricthostkeychecking no\n" >> ~/.ssh/config   - echo -e "host github.com\n\tstricthostkeychecking no\n" >> ~/.ssh/config 

seems trick.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -