I tried the following command, but it failed.
ssh -p 24198 my_server gerrit gsql
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
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