.ssh/config
host git-server
user git
hostname 127.0.0.1
identityfile ~/.ssh/git
port 6827
run: git ls-remote git-server:gitolite-admin.git
error: FATAL: R any gitolite-admin git DENIED by fallthru (or you mis-spelled the reponame) fatal: Could not read from remote repository.
Please make sure you have the correct access rights
Simply try first
ssh git@host infoThat is better than ssh to the server, which a regular user could not do anyway, because their SSH public key is associated to a gitolite "force command": they cannot get an interactive session.
Note that for accessing the
gitolite-admin.gitmain configuration repository, you need to use the key that you had when doing the gitolite installation