Hudson não vai buscar no Git

Eu tenho batido neste há mais de um dia, está me deixando louco!

Eu tenho o Git instalado em um PC Win7 e selecionei a opção PuttyGen na instalação.Eu criei chaves ssh usando PuttyGen; Eu adicionei a chave ssh à minha conta Git e vinculei a chave privada no Pageant.Eu configurei o GIT_SSH para apontar para o meu putty plink.exe.Eu usei o Putty para conectar-se ao codaset & git para aceitá-los como hosts conhecidos.

Posso clonar no console, mas Hudson falha:

Fetching upstream changes from [email protected]:xxx/xxx.git
[workspace] $ "C:\Program Files\Git\bin\git.exe" fetch -t [email protected]:xxx/xxx.git +refs/heads/*:refs/remotes/origin/*
ERROR: Problem fetching from origin / origin - could be unavailable. Continuing anyway
ERROR: Could not fetch from any repository
FATAL: Could not fetch from any repository
hudson.plugins.git.GitException: Could not fetch from any repository
    ...

Se eu executar o comando git exato em um console, ele funcionará bem:

"C:\Program Files\Git\bin\git.exe" fetch -t [email protected]:xxx/xxx.git +refs/heads/*:refs/remotes/origin/*

Tentei executar o plink para conectar-se diretamente ao GitHub:

plink -agent -v [email protected]
Looking up host "github.com"
...
Pageant is running. Requesting keys.
Pageant has 1 SSH-2 keys
Using username "git".
...
Authenticating with public key "rsa-key-20110121" from agent
...
Hi xxx! You've successfully authenticated, but GitHub does not provide
 shell access.

Eu tentei conectar ao codaset:

plink -agent -v [email protected]
m
Looking up host "codaset.com"
Pageant is running. Requesting keys.
Pageant has 1 SSH-2 keys
Using username "git".
...
Authenticating with public key "rsa-key-20110121" from agent
...
Opened channel for session
Server refused to allocate pty
Started a shell/command
Error: Command is required.
...
Server sent command exit status 255
Disconnected: All channels closed

Portanto, uma resposta ligeiramente diferente do codaset do que do git. No entanto, acho que isso pode ser um problema, pois eu recebo o mesmo erro se tentar me conectar a um projeto git padrão de hudson.

Também configurei o Go Server (CruiseControl como estava) e recebo um erro semelhante ao tentar conectar-me ao git a partir daqui:

ERROR: FATAL ERROR: Disconnected: No supported authentication methods available
ERROR: fatal: The remote end hung up unexpectedly

O que me faz pensar que o problema deve estar na autenticação, e não nos detalhes de Hudson ...?

Como sempre, qualquer ajuda muito apreciada!

questionAnswers(4)

yourAnswerToTheQuestion