Creating SSH keys for Gerrit and Hudson
问题 I'm trying to use the Hudson Gerrit Trigger plug-in. For whatever reason, Gerrit is not accepting the SSH key located at /var/lib/hudson/.ssh/id_rsa . In the GUI I get Connection error : com.jcraft.jsch.JSchException: Auth fail as an error, and when I'm working in the terminal I get a Permission denied (publickey) error. How can I generate and use a working private key so Hudson and Gerrit can play nice? 回答1: The OP Josh Smith managed to sort it out: I'd actually needed to add the SSH key