Error fe-ssh.sh - Permission denied - unable to fork when cloning Git repository

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.

Problem

Fisheye/Crucible is unable to clone a Git repository over SSH and the following error appears in the atlassian-fisheye-YYYY-MM-DD.log:

Mon Jan 18 14:22:40 GMT-500 2016: Unable to clone remote repository: ssh://git@bitbucket.company.com:7999/project/repo.git - [fatal: cannot exec '/opt/atlassian/fisheye/fecru-3.9.0/bin/fe-ssh.sh': Permission denied, fatal: unable to fork] - Cloning into bare repository 'clone'...

Cause

The user running Fisheye/Crucible does not have permission to execute the fe-ssh.sh script.

Resolution

Set the permissions correctly on <FISHEYE_INSTALLATION>/bin/fe-ssh.sh so that the user running Fisheye/Crucible can execute the file. This can likely be accomplished with chmod +x fe-ssh.sh.

Last modified on Jul 31, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.