The error message suggests that there's no SSH daemon running on that
host (22 is the standard SSH port), or that a firewall or similar is
blocking the access.
--
Magnus Bäck Opinions are my own and do not necessarily
SW Configuration Manager represent the ones of my employer, etc.
Sony Ericsson
> On Apr 28, 2:14 pm, Magnus Bäck <magnus.b...@sonyericsson.com> wrote:
>
> > The error message suggests that there's no SSH daemon running on
> > that host (22 is the standard SSH port), or that a firewall or
> > similar is blocking the access.
>
> Thank you. I found the error occured because I did not install sshd on
> the host.
> So I installed sshd and then run the command again. This time, it
> required me to enter the password. I wonder what the password is.
> Since it is not the password of the rsa key, nor the password of the
> Gerrist user, nor the password of the remote host?
> Then there was another error:
> Permission denied (publickey, password).
You must set up a public/private key pair that enables the Gerrit user
on the master server to log on to the Gerrit user on the slave without a
password. In short, create a (password-less) key using ssh-keygen on the
master (unless you already have one) and append the contents of the .pub
file to the .ssh/authorized_keys file for the Gerrit user on the slave.
http://www.linuxproblem.org/art_9.html
http://www.thegeekstuff.com/2008/11/3-steps-to-perform-ssh-login-without-password-using-ssh-keygen-ssh-copy-id/
This URL is incorrect. You need to include the ${name} placeholder so
the Gerrit server can fill it in with the actual project name. Try
instead:
[remote "slave_host_name"]
url = user_name@slave_host_name:/home/user_name/gerritreplications/${name}.git