Jenkins configure git times error after creating a task
Jenkins Host Key Verification failedjenkins:failed to connect to repository
View GitHub's official documentation
#1. Check for SSH keys.$ CD ~/.ssh#2. Backup and remove existing SSH keys.$ lslists all the subdirectories in the current directory$ mkdir Key_backupmakes a Sub Directory called "Key_backup" in the current directory$ CP id_rsa* key_backupcopies the contents of the Id_rsa directory I Nto key_backup$ rm id_rsa* #3. Generate a new SSH key.$ ssh-keygen-t rsa-c "[email protected]" #4. Add your SSH key to GitHub. #5. Test everything out.$ ssh-t [email protected]
It probably means that you're building your own SSH password right now, and then uploading the public key to GitHub.
Transferred from: http://www.cnblogs.com/Leon5/archive/2011/10/23/2222002.html
Jenkins problems when creating a git task connection