Permission denied (publickey) when deploy from local machine to server #2865
Unanswered
svenbartak
asked this question in
Help needed
Replies: 2 comments 2 replies
-
[email protected]: Permission denied (publickey). |
Beta Was this translation helpful? Give feedback.
2 replies
-
I had this problem and I lost a lot of time with it. I created an SSH key (passwordless) on the server and added it to BitBucket, so I can clone the repo without password (tested via SSH). The deploy failed because agent forwarding is enabled by default so if your local machine can't connect o BitBucket the deploy will fail (that's my case). Just disable it with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys,
i have a strange problem with deploying an app to my remote server.
First of all, i have updated deployer from 6.x. to 7.x-dev, because of php8 deps. Before this upgrade the deployment works fine and smootly. Now i run into a repository permission denied (publickey) error if deploy to remote. Strangely, if i am using the same git clone command as deploy user on my remote machine it works fine.
Log
Hints
It seems to be that deployer uses not the deploy user for cloning the repo.
Configuration
I am out of ideas, hopefully some one can help me.
Thanks,
BR,
Sven
Beta Was this translation helpful? Give feedback.
All reactions