Thanks. After I disable sslverify in git I can push and pull in https. However, there is still something wrong with the ssh push/pull. SSH itself works with my key:
derek@mail:~/projects/notes$ ssh derek-zhou@git.limo -p 10022
You are not allowed to start a shell.
Connection to git.limo closed.
However, git over it does not.
I have seen 2 distinct error messages:
error: failed to push some refs to 'ssh://derek-zhou@git.limo:10022/derek-zhou/test.git'
and:
error: remote unpack failed: %GitRekt.GitError{code: -1, message: "missing trailer at the end of the pack"}
fatal: the remote end hung up unexpectedly
My git version is a bit old though:
derek@mail:~/projects/notes$ git --version
git version 2.20.1
The strange thing is https works.
EDIT:
a newer git version seem to work:
git version 2.30.2






















