Hi, I'm trying to integrate TeamCity with a Github repo and I have several questions:
First I don't know where to place the keys id_rsa.pub that I got generated from ssh-keygen. I can say that I set up the machine in a way that I have success doing ssh -T firstname.lastname@example.org .
Once I know where to put the key, I would like to know how to configure the Project on TeamCity itself in order to pull from github. I've tried two things:
- Using Anonymous authentication and defining the repo URL as https://<user>@github.com/<user>/test.git . The Test Connection works but when I try to run on an agent I got exceptions.
- Using authentication with private key but I don't know where to place the key and also I don't know whether the agents should have SHH configuration as well or everything should be on the TeamCity side (I have the agents on different machines)
Any help would be very much appreciated.