You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've added "IdentitiesOnly yes" to my .ssh/config for my gitlab host, without that I couldn't clone the repo.
LIBSSH2 version :
ii libssh2-1:amd64 1.10.0-3 amd64 SSH2 client-side library
I tried to enable the debug mode with it didn't give much.
Error :
I, [2024-04-30T21:07:04.171384 #32] INFO -- : GithubRepo: Pushing local repository(/home/oxidized/.config/oxidized/oxidized.git/)...
I, [2024-04-30T21:07:04.171438 #32] INFO -- : GithubRepo: to remote: ssh://git@GIT_URL/infrastructure/oxidized.git
E, [2024-04-30T21:07:04.338160 #32] ERROR -- : Hook push_to_remote (#<GithubRepo:0x000055d2585ec358>) failed (#<Rugged::SshError: remote rejected authentication: Failed getting response>) for event :post_store
Thanks
The text was updated successfully, but these errors were encountered:
Hi
I tried to reconfigure the git hook from user/password to ssh key but I can't find the solution.
The config :
For the remote_repo I also tried "git@GIT_URL:infrastructure/oxidized.git".
The id_rsa key starts with "-----BEGIN RSA PRIVATE KEY-----" and there is no line return at the end.
.ssh folder and key files are owned by the user.
Known_hosts contains the info for my git repo.
I'm able to git clone the repo manually and commit into it :
I've added "IdentitiesOnly yes" to my .ssh/config for my gitlab host, without that I couldn't clone the repo.
LIBSSH2 version :
I tried to enable the debug mode with it didn't give much.
Error :
Thanks
The text was updated successfully, but these errors were encountered: