SSH key issues with dokku
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?
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.
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.
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.