If you see the
git protocol documentation[
^], both would be valid ssh URLs. The first assumes your username is whatever you're logged in to the local machine as, the second uses "gitolite" as your username.
In either case, if the repository is private or you don't have ssh access, you won't be able to access anything anyway.