fatal: The remote end hung up unexpectedly
-
The gist of our issue:
“ssh: connect to host {hostname} port 7999: Permission denied
fatal: The remote end hung up unexpectedly”…. when attempting to push/pull from a Stash/GIT server.
—
What we’ve tried:– Setting up the ssh-agent/ssh-add within the httpd init.d script (verified that the agent is indeed running under the same user that also runs Apache)
– Able to perform a git push/pull from the same user in bash shell (propagates id_rsa key with no error)
– Changed the Apache user to be able to exec a /bin/bash shell, vs. the default /sbin/nologin
– Verified that “shell_exec” is not disabled in php.iniWhat isn’t clear is where Revisr is expecting to find the id_rsa key, and whether or not it’s using ssh-agent to propagate the priv key. How can we get a better debug log from the push/pull action?
————-
Operating System Linux
Exec() Enabled true
Git Install Path /usr/bin/git
Git Version git version 1.7.1
MySQL Install Path /usr/bin/mysql
File Permissions true
Repository Path /var/www/html
————-Thanks in advance!
- The topic ‘fatal: The remote end hung up unexpectedly’ is closed to new replies.