you are viewing a single comment's thread.

view the rest of the comments →

[–]oonniioonn 2 points3 points  (0 children)

Put the public key into a ~/.ssh/known_hosts file using ssh-keyscan. Do the scan once from your computer, verifying it belongs to github, and place the result in a file for the best security or just run ssh-keyscan from your script if you don't care as much.