I tried the following command, but it failed.
ssh -p 24198 my_server gerrit gsql
That is the correct command. What error did you get? Was Gerrit up and running? It must be up and running to connect over ssh. See http://gerrit-documentation.googlecode.com/svn/Documentation/2.4/cmd-gsql.html
If Gerrit is not up and running, you can use java -jar gerrit.war gsql -d <SITE_PATH> - see http://gerrit-documentation.googlecode.com/svn/Documentation/2.4/pgm-gsql.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With