Cant connect to the remote server from jenkins using ssh key

2020-07-21 Thread sakshira...@gmail.com
How can i resolve below issue for ssh configuration for remote server to jenkins: jenkins.plugins.publish_over.BapPublisherException: Failed to connect and initialize SSH connection. Message: [Failed to connect session for config [Remote Machine]. Message [Auth fail] i have added ssh key for

Re: Cant connect to the remote server from jenkins using ssh key

2020-07-21 Thread jeremy mordkoff
You are positive the key works and that jenkns is ssh'ing as the right user? If so, can you check that the key is the only one offered? Finally, enable debug logs on the target's SSH server and look for the cause. On Tuesday, July 21, 2020 at 3:03:10 AM UTC-4, sakshira...@gmail.com wrote: > >

Re: Help required: jenkins SSH connectivity issue

2020-07-21 Thread jeremy mordkoff
Where is that file referenced? In your .ssh/config file? It sounds like a simple path issue -- the config file is referencing a location that is not available to jenkins. You can override this on the command line, e.g. something like -i /c/Users/jenkins/ssh/id_rsa On Monday, July 20, 2020 at 5

Re: SSH Agent, z/OS USS, and git authentication problems

2020-07-21 Thread jeremy mordkoff
CI and passphrases never mix :) You're going to need some password-less keys even if they have limited access. On Monday, July 20, 2020 at 4:48:23 PM UTC-4, Randall Becker wrote: > > Turns out, you cannot use a key-pair with a passphrase in this situation. > SSH key-pairs without a passphrase w

How to run per-build setups when a new build executes on a node?

2020-07-21 Thread Jonathan Ballet
Hi, We are running our Jenkins builds on EC2 using the ec2-plugin. We have 2 types of EC2 nodes: * very ephemeral ones, which are created and destroyed for each builds * longer ones, which are created and destroyed once a day more or less Our (scripted) Jenkinsfiles look like this: node("shor

Jenkins Terminology Poll for ‘master’

2020-07-21 Thread Mark Waite
The Jenkins terminology poll for the “master” term replacement is open at https://civs.cs.cornell.edu/cgi-bin/results.pl?id=E_1bd92a17371a1ca5 . We would appreciate your votes! If you are interested to participate, please

Re: Jenkins Terminology Poll for ‘master’

2020-07-21 Thread Arnaud bourree
We can see result, but how do we vote? Le mar. 21 juil. 2020 à 21:19, Mark Waite a écrit : > The Jenkins terminology poll > > for the “master” term replacement is open at > https://civs.cs.cornell.edu/cgi-bin/results.pl?id=E_

Re: Jenkins Terminology Poll for ‘master’

2020-07-21 Thread Mark Waite
Sorry that I provided the "results" link instead of the "vote" link. Vote at https://civs.cs.cornell.edu/cgi-bin/vote.pl?id=E_1bd92a17371a1ca5&akey=f82b79a50f54ad87 On Tue, Jul 21, 2020 at 1:19 PM Mark Waite wrote: > The Jenkins terminology poll >

Re: Jenkins Terminology Poll for ‘master’

2020-07-21 Thread Mark Waite
Sorry that I provided the "results" link instead of the "vote" link. Vote at https://civs.cs.cornell.edu/cgi-bin/vote.pl?id=E_1bd92a17371a1ca5&akey=f82b79a50f54ad87 On Tue, Jul 21, 2020 at 1:44 PM Arnaud bourree wrote: > We can see result, but how do we vote? > > Le mar. 21 juil. 2020 à 21:19,

Re: Jenkins Terminology Poll for ‘master’

2020-07-21 Thread Peter L. Berghold
On Tue, 2020-07-21 at 12:18 -0700, Mark Waite wrote: > The Jenkins terminology poll for the “master” term replacement is > open at > Great... more virtue signalling. I suppose "master key" is right out too. -- Peter L. Berghold Blog: http://cowdawgkitchens.com Passions include: Dogs, Bee

Do multibranch jobs lead to code duplication?

2020-07-21 Thread 'Martin Schmude' via Jenkins Users
Dear all, if I understand multibranch jobs right, then a Jenkinsfile in branch "master" will be replicated into all other branches drawn from "master". It has to be like that because the Jenkinsfile is the "marker" that tells Jenkins to build a branch, and how to do that. Branches without a Jen

Re: Help required: jenkins SSH connectivity issue

2020-07-21 Thread sakshira...@gmail.com
thanks, i tried in this way also by overrirding file but connection is not established. during more workaround i tried editing sshd config for parameter PermitRootLogin yes but after this change i am not able to login into server itself using ssh key. Is there any suggestion how can i revert ba