I have alter default ssh to openssh,but I`v got Errno::ENOENT when ssh_cmd 'git-receive-pack'
Created by: kesin
when i push , i got something like below
/home/git/gitlab-shell/lib/gitlab_shell.rb:73:in `exec': No such file or directory - git-receive-pack /home/git/repositories/zo/zo12zo/test.git (Errno::ENOENT)
from /home/git/gitlab-shell/lib/gitlab_shell.rb:73:in `exec_cmd'
from /home/git/gitlab-shell/lib/gitlab_shell.rb:65:in `process_cmd'
from /home/git/gitlab-shell/lib/gitlab_shell.rb:27:in `exec'
from /home/git/gitlab-shell/bin/gitlab-shell:16:in `<main>'
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
but when i run ssh -T git@localhost command everything works well
$ ssh -T git@localhost
Welcome to Gitlab, zo12zo!
can someone help to fixed this problem?