Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH key issues with dokku #107

Open
antiantivirus opened this issue Apr 16, 2024 · 3 comments
Open

SSH key issues with dokku #107

antiantivirus opened this issue Apr 16, 2024 · 3 comments

Comments

@antiantivirus
Copy link

Having issues using this plugin with a server running dokku on digital ocean. When pulling/pushing from git using the plugin I get the following error

Command 'LC_ALL=C git commit '--author=REDACTED <[email protected]>' -m 'Content updates'' failed (exit-code 128).

I have git setup on the server and can pull and push from the repository using the command line. If the plugin is using the same git account as is set on the server then why would this error be occurring?

@thathoff
Copy link
Owner

The problem seems to occur when committing not pushing. Have you tried to commit something as the user the Webserver is running with? Code 128 sometimes refers to missing global config options (eg. name and e-mail) or mixed up access rights for the repo.

@antiantivirus
Copy link
Author

antiantivirus commented Apr 17, 2024

Committing through the command line as the web user works, then when i try and push that to github via the plugin I get the following error.

Failed to add the ECDSA host key for IP address '140.82.112.4' to the list of known hosts (/etc/ssh/ssh_known_hosts). [email protected]: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

Not sure if they are somehow related?

I can run the following command on the server ssh -vT [email protected] and it successfully connects to github/140.82.114.4 using the publickey.

@thathoff
Copy link
Owner

It's quite difficult to debug this without access to the server. And is a bit more I can help you here. I hope you understand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants