How to connect to the H2 database used in Gerrit
gerrit, h2
Solution
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
Problem
I tried the following command, but it failed. ``` ssh -p 24198 my_server gerrit gsql ```