fix the ssh port number when check gerrit version.