I am on Ec2 with the base amazon ami linux- I have installed jenkins but when I go to pull the repo from github I am given the following error:
Building in w
If you log in as jenkins you can do
ssh -i ~/.ssh/id_rsa git@github.com
where ~/.ssh/id_rsa is the path/to/your/ssh/key and it will prompt for the password and add to the known_hosts file