how to add github to known hosts

241 views
Skip to first unread message

sam

unread,
Oct 25, 2014, 1:38:05 PM10/25/14
to ansible...@googlegroups.com
I've been using the following to add github to my known hosts:

shell: ssh-keyscan -H github.com >> ~/.ssh/known_hosts


..but it started failing, here's the result:



I mentioned this in IRC, and someone linked to a blog post where
the author is doing something similar:



I tried what the author was doing and I had the same results as previously:


I could use some help on this, hope someone here as ran into this issue previously.

Michael DeHaan

unread,
Oct 30, 2014, 1:55:09 PM10/30/14
to ansible...@googlegroups.com
There's an accept_hostkey parameter to the git module which is a good thing to use in this case when adding something for purposes of using it with git.

(I would ask that folks please do not use gist for short things on the mailing list, it limits ability to search for problems later on Google and requires opening a giant sum of tabs...)




--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/09c8c03f-4523-4af5-a886-e825bde383ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages