Flows
Flows

Reputation: 3863

How to create gerrit user?

I want to create a Gerrit user named jenkins in order to use it for Jenkins jobs trigger by Gerrit.

My goal is to set up a environment as described in the post : Unable to set up “Sonar Gerrit” Jenkins plugin

As described on the documentation, I launched the command with gerrit user on the server hosting Gerrit (Gerrit instance is launched with gerrit user).

ssh -p 29418 localhost gerrit create-account --group "'Non-Interactive Users'" --ssh-key - jenkins

The command returns (same if I launch ssh -p 29418 localhost)

Permission denied (publickey).

I am pretty sure it's a ssh configuration issue but I am not able to figured out what I missed. Do you have any clues ?

Upvotes: 0

Views: 2516

Answers (1)

The "Permission denied (publickey)" means that your SSH authentication to execute the "gerrit create-account" command was not successful.

See more info here.

Upvotes: 1

Related Questions