Hi,

I'm trying to install and use my first slave (Unix) and I'm obviously
doing something wrong here.

I have created a user account jenkins with a home directory on my
slave (Linux) box and have added the public key of my master's user to
its authorized_keys file and verified that I can log in to the slave
using SSH and the jenkins master user. Launch worked.

Then I copied an existing job, which works fine on the master and
restricted it to the new slave node.

My job fails when accessing the git repo with this error:

FATAL: Failed to fetch from ssh://git@<erased>
hudson.plugins.git.GitException: Failed to fetch from
ssh://[email protected]:7999/fnd/de.lesspain.common.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:627)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:865)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:890)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1251)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:513)
at hudson.model.Run.execute(Run.java:1706)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags
--progress ssh://git@<erased>/fnd/de.lesspain.common.git
+refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout:
stderr: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
31:80:ac:b5:cd:c7:7e:d5:38:d3:ae:1f:7c:44:ca:80.
Please contact your system administrator.
Add correct host key in /home/jenkins/.ssh/known_hosts to get rid of
this message.
Offending key in /home/jenkins/.ssh/known_hosts:1
RSA host key for git.lesspain.de has changed and you have requested
strict checking.
Host key verification failed.
fatal: Could not read from remote repository.
...

I have manually opened an ssh connection to the git server just before
that and accepted the host key, so the server is a known host. I don't
see how its key could have changed inbetween. This is all happening in
a protected environment.

Any clues where I should look next?

Thanks,

Robert

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to