-
Notifications
You must be signed in to change notification settings - Fork 939
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
problem with githubrepo hook #1838
Comments
There is no indication if the same key(s) configured for You may want to use a combination of If this succeeds, your remote server may require some combination of ssh parameters which libssh2 (used by Rugged) is not compiled for on your host. Which version of |
libssh2-1-dev/stable,stable,now 1.7.0-1+deb9u1 amd64 [installed] this user have only one key :) |
@lsochanowski Take a look at this comment: #1877 (comment) |
I see a similar behaviour: GithubRepo: Authenticating using ssh keys as 'git' But no further errors. I had the key format error in previous attempts, but after converting both Public and Private keys I got no more errors, but still no repository push. The key conversion steps:
And the config uses the *-PEM files for githubrepo hook. Reference
|
configuration like bellow ,
problem is oxidize is looping with information "Authenticating using ssh keys as 'git'"
when i've try to push manualy it's working fine .. i can use workaround with exec hook but problem persist ;)
`output:
default: git
git:
user: Oxidized
email: o@eot.pl
repo: "/var/lib/oxidized/devices.git"
hooks:
push_to_remote:
type: githubrepo
events: [post_store]
remote_repo: git@gitlab.eot.pl:oxidized/configarchive.git
publickey: /etc/oxidized/.ssh/id_rsa.pub
privatekey: /etc/oxidized/.ssh/id_rsa
`
`D, [2019-06-27T11:08:34.690209 #18272] DEBUG -- : GithubRepo: Authenticating using ssh keys as 'git'
D, [2019-06-27T11:08:34.691283 #18272] DEBUG -- : GithubRepo: Authenticating using ssh keys as 'git'
D, [2019-06-27T11:08:34.692466 #18272] DEBUG -- : GithubRepo: Authenticating using ssh keys as 'git'
D, [2019-06-27T11:08:34.693549 #18272] DEBUG -- : GithubRepo: Authenticating using ssh keys as 'git'
D, [2019-06-27T11:08:34.694620 #18272] DEBUG -- : GithubRepo: Authenticating using ssh keys as 'git'
D, [2019-06-27T11:08:34.695673 #18272] DEBUG -- : GithubRepo: Authenticating using ssh keys as 'git'
D, [2019-06-27T11:08:34.696734 #18272] DEBUG -- : GithubRepo: Authenticating using ssh keys as 'git'
D, [2019-06-27T11:08:34.697775 #18272] DEBUG -- : GithubRepo: Authenticating using ssh keys as 'git'
D, [2019-06-27T11:08:34.700743 #18272] DEBUG -- : GithubRepo: Authenticating using ssh keys as 'git'
D, [2019-06-27T11:08:34.703617 #18272] DEBUG -- : GithubRepo: Authenticating using ssh keys as 'git'
^CD, [2019-06-27T11:08:34.704872 #18272] DEBUG -- : GithubRepo: Authenticating using ssh keys as 'git'
D, [2019-06-27T11:08:34.706195 #18272] DEBUG -- : GithubRepo: Authenticating using ssh keys as 'git'
D, [2019-06-27T11:08:34.707665 #18272] DEBUG -- : GithubRepo: Authenticating using ssh keys as 'git'
=== puma shutdown: 2019-06-27 11:08:34 -0400 ===
oxidized@rancid:/var/lib/oxidized/devices.git$ git push
Counting objects: 3, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 295 bytes | 0 bytes/s, done.
Total 3 (delta 2), reused 0 (delta 0)
To gitlab.eot.pl:oxidized/oxidized.git
795c25a..cd12e55 master -> master
oxidized@rancid:/var/lib/oxidized/devices.git$
`
The text was updated successfully, but these errors were encountered: