Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7178805
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T16:59:40+00:00 2026-05-28T16:59:40+00:00

I have a Hudson server, and a git repository, both running on our server

  • 0

I have a Hudson server, and a git repository, both running on our server (an ubuntu machine).
Whenever I try to build my app with hudson, he says the follwing

Iniciado pelo usuário anonymous
Checkout:workspace / /usr/share/tomcat6/.hudson/jobs/ECF/workspace - hudson.remoting.LocalChannel@176150c
Using strategy: Default
Checkout:workspace / /usr/share/tomcat6/.hudson/jobs/ECF/workspace - hudson.remoting.LocalChannel@176150c
Fetching changes from the remote Git repository
Fetching upstream changes from ssh://git@192.168.0.10/git/germantech.git
ERROR: Problem fetching from servidor / servidor - could be unavailable. Continuing anyway
ERROR:  (Underlying report) : Error performing command: git fetch -t ssh://git@192.168.0.10/git/germantech.git +refs/heads/*:refs/remotes/origin/*
Command "git fetch -t ssh://git@192.168.0.10/git/germantech.git +refs/heads/*:refs/remotes/origin/*" returned status code 128: Host key verification failed.
fatal: The remote end hung up unexpectedly

ERROR: Could not fetch from any repository
FATAL: Could not fetch from any repository
hudson.plugins.git.GitException: Could not fetch from any repository

what am i missing here?
Ideas? thanks in advance

EDIT

Ok, made it work!
first, i’ve logged with my hudson user (sudo su - -s /bin/bash tomcat6) and then, i’ve deleted my .ssh folder.
after this, i just followed this link, and made a ssh login without password
now, hudson can do a fetch without have to especify a password

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T16:59:42+00:00Added an answer on May 28, 2026 at 4:59 pm

    You need to create an ssh relationship between hudson and git server.

    You only need to do this once.

    Steps:

    1. Log in in the hudson machine with the hudson user.

    2. create a ssh private and public key:

      ssh-keygen -t dsa
      Leave an empty passphase.
      Now you have 2 files in the hudson home under the .ssh folder: id_dsa and id_dsa.pub.

    3. Copy the key to your repo using:

      ssh-copy-id -i ~/.ssh/id_dsa.pub hudson@gitserver.machine.com

    4. Log out and verify you can now ssh without having to provide a password.

    Hudson should now be able to connect.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are using Hudson with git. We have a build/test server which compiles our
We have just setup our hudson server to build .NET projects which seems to
We have at work a Hudson machine that acts as a build server for
We have Hudson CI server which uses msbuild to build our C# code. Does
I have a hudson build server (Windows) that does not have Websphere installed. I
We are using Hudson for our Continuous Integration server and it's great. We have
I've started experimenting with Hudson as a build server. I'm using subversion and have
Problem I have a hudson build server set up on a windows server 2008.
We want to run selenium backed jwebunit tests from our hudson server. We have
I have just set up Hudson on my server. For some reason, my build

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.