Gerrit installation, stuck at "Generating SSH host key ... rsa..."

933 views
Skip to first unread message

Grazia

unread,
Sep 21, 2011, 5:09:46 PM9/21/11
to Repo and Gerrit Discussion
I am trying to install Gerrit, but it does not seem to be able to go
past this:

Gerrit Code Review is not shipped with Bouncy Castle Crypto v144
If available, Gerrit can take advantage of features
in the library, but will also function without it.
Download and install it now [Y/n]? y
Downloading http://www.bouncycastle.org/do... ... OK
Checksum bcprov-jdk16-144.jar OK
Generating SSH host key ... rsa...


ANy idea ? THanks

Jason Axelson

unread,
Sep 21, 2011, 9:40:08 PM9/21/11
to Grazia, Repo and Gerrit Discussion

What happens when you run ssh-keygen? Can it generate key files okay?

Jason

Edwin Kempin

unread,
Sep 22, 2011, 2:41:23 AM9/22/11
to Jason Axelson, Grazia, Repo and Gerrit Discussion
Are you trying to install Gerrit on Windows?
On Windows the generation of the SSH host key hangs if you are not
executing it as administrator.
Try starting the command line prompt or msysgit shell from which you
are running the init command with 'Run as administrator'.

Alternativly if you are just installing a test system you may not
install Bouncy Castle Crypto. Then it generates a simply key which
will also succeed if you are not running it as administrator.

2011/9/22 Jason Axelson <jaxe...@referentia.com>:

> --
> To unsubscribe, email repo-discuss...@googlegroups.com
> More info at http://groups.google.com/group/repo-discuss?hl=en
>

Grazia Russo Lassner

unread,
Sep 22, 2011, 9:23:21 AM9/22/11
to Edwin Kempin, Jason Axelson, Repo and Gerrit Discussion
Thank you very much.

I used "Run as Administrator" and installation succeeded.

Grazia

Reply all
Reply to author
Forward
0 new messages