Re: Help with Publish Over SSH plugin?

2023-02-02 Thread Alex Earl
Actually, I looked at the code again and it looks like PO-SSH should not be
doing host key checking, can you share the build log?

On Wed, Feb 1, 2023 at 2:29 PM zil...@gmail.com  wrote:

> ...and logged in as user "Administrator", I can connect to the SFTP server
> manually. My plugin uses the "devops" user too.
>
> sftp dev...@ftp.company.com
>
> ...prompts me for the p/w, and once entered, I connect.
>
> Thanks
>
> On Wednesday, February 1, 2023 at 4:14:51 PM UTC-5 zil...@gmail.com wrote:
>
>> My agent is currently running under the "Administrator" account, so I did
>> update its known_hosts file to no avail.
>>
>> Thanks
>>
>> On Wednesday, February 1, 2023 at 2:39:06 PM UTC-5 slide wrote:
>>
>>> What user is your agent/controller running as? If you are running the
>>> controller as Local System, it would be the second path, but I would highly
>>> recommend that you setup a service account just for Jenkins and run Jenkins
>>> as that user.
>>>
>>> On Wed, Feb 1, 2023 at 12:03 PM zil...@gmail.com 
>>> wrote:
>>>
 When using the Publish Over SSH plugin in a job, what "known_hosts"
 file is it using? I see one in "c:\Users\myUser\.ssh\known_hosts" but also
 in  "c:\Windows\system32\config\systemprofile\.ssh\known_hosts"

 On Wednesday, February 1, 2023 at 1:42:12 AM UTC-5 dheinric wrote:

> Am Dienstag, dem 31.01.2023 um 14:00 -0700 schrieb Alex Earl:
>
> None of the other SSH plugins do a copy over SSH.
>
>
> Yes, of course not. They were meant as examples how host key
> verification is handled differently by other plugins that make use of SSH.
> AFAIK the "publish-over-*" plugins don't use the same underlying SSH
> library plugin and tus don't have the same capabilities. IIRR they also
> don't use Jenkins' credentials provider...
>
> Bye...
>
> Dirk
>
> --
>
> *Dirk Heinrichs*
> Senior Systems Engineer, Delivery Pipeline
> OpenText ™ Discovery | Recommind
> *Phone*: +49 2226 15966 18 <+49%202226%201596618>
> *Email*: dhei...@opentext.com
> *Website*: www.recommind.de
> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
> Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu
> Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn,
> Registernummer HRB 10646
> This e-mail may contain confidential and/or privileged information. If
> you are not the intended recipient (or have received this e-mail in error)
> please notify the sender immediately and destroy this e-mail. Any
> unauthorized copying, disclosure or distribution of the material in this
> e-mail is strictly forbidden
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
> vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
> Weitergabe dieser Mail sind nicht gestattet.
>
 --

>>> You received this message because you are subscribed to the Google
 Groups "Jenkins Users" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to jenkinsci-use...@googlegroups.com.

>>> To view this discussion on the web visit
 https://groups.google.com/d/msgid/jenkinsci-users/d317c501-823b-4f22-b262-1e8dd3e727e1n%40googlegroups.com
 
 .

>>>
>>>
>>> --
>>> Website: http://earl-of-code.com
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/3287abc8-974d-49f5-8269-582d29f98f4fn%40googlegroups.com
> 
> .
>


-- 
Website: http://earl-of-code.com

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVfEXPZqYuZGi6dADNn2g5z0b8GXP4vanAjE4OF3U9PqdQ%40mail.gmail.com.


Re: Help with Publish Over SSH plugin?

2023-02-01 Thread zil...@gmail.com
...and logged in as user "Administrator", I can connect to the SFTP server 
manually. My plugin uses the "devops" user too.

sftp dev...@ftp.company.com

...prompts me for the p/w, and once entered, I connect.

Thanks

On Wednesday, February 1, 2023 at 4:14:51 PM UTC-5 zil...@gmail.com wrote:

> My agent is currently running under the "Administrator" account, so I did 
> update its known_hosts file to no avail.
>
> Thanks
>
> On Wednesday, February 1, 2023 at 2:39:06 PM UTC-5 slide wrote:
>
>> What user is your agent/controller running as? If you are running the 
>> controller as Local System, it would be the second path, but I would highly 
>> recommend that you setup a service account just for Jenkins and run Jenkins 
>> as that user.
>>
>> On Wed, Feb 1, 2023 at 12:03 PM zil...@gmail.com  
>> wrote:
>>
>>> When using the Publish Over SSH plugin in a job, what "known_hosts" file 
>>> is it using? I see one in "c:\Users\myUser\.ssh\known_hosts" but also in  
>>> "c:\Windows\system32\config\systemprofile\.ssh\known_hosts"
>>>
>>> On Wednesday, February 1, 2023 at 1:42:12 AM UTC-5 dheinric wrote:
>>>
 Am Dienstag, dem 31.01.2023 um 14:00 -0700 schrieb Alex Earl:

 None of the other SSH plugins do a copy over SSH.


 Yes, of course not. They were meant as examples how host key 
 verification is handled differently by other plugins that make use of SSH. 
 AFAIK the "publish-over-*" plugins don't use the same underlying SSH 
 library plugin and tus don't have the same capabilities. IIRR they also 
 don't use Jenkins' credentials provider...

 Bye...

 Dirk

 -- 

 *Dirk Heinrichs*
 Senior Systems Engineer, Delivery Pipeline
 OpenText ™ Discovery | Recommind
 *Phone*: +49 2226 15966 18 <+49%202226%201596618>
 *Email*: dhei...@opentext.com
 *Website*: www.recommind.de
 Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
 Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu 
 Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, 
 Registernummer HRB 10646
 This e-mail may contain confidential and/or privileged information. If 
 you are not the intended recipient (or have received this e-mail in error) 
 please notify the sender immediately and destroy this e-mail. Any 
 unauthorized copying, disclosure or distribution of the material in this 
 e-mail is strictly forbidden
 Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
 Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
 irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und 
 vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte 
 Weitergabe dieser Mail sind nicht gestattet.

>>> -- 
>>>
>> You received this message because you are subscribed to the Google Groups 
>>> "Jenkins Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to jenkinsci-use...@googlegroups.com.
>>>
>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/jenkinsci-users/d317c501-823b-4f22-b262-1e8dd3e727e1n%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>>
>>
>> -- 
>> Website: http://earl-of-code.com
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/3287abc8-974d-49f5-8269-582d29f98f4fn%40googlegroups.com.


Re: Help with Publish Over SSH plugin?

2023-02-01 Thread zil...@gmail.com
My agent is currently running under the "Administrator" account, so I did 
update its known_hosts file to no avail.

Thanks

On Wednesday, February 1, 2023 at 2:39:06 PM UTC-5 slide wrote:

> What user is your agent/controller running as? If you are running the 
> controller as Local System, it would be the second path, but I would highly 
> recommend that you setup a service account just for Jenkins and run Jenkins 
> as that user.
>
> On Wed, Feb 1, 2023 at 12:03 PM zil...@gmail.com  wrote:
>
>> When using the Publish Over SSH plugin in a job, what "known_hosts" file 
>> is it using? I see one in "c:\Users\myUser\.ssh\known_hosts" but also in  
>> "c:\Windows\system32\config\systemprofile\.ssh\known_hosts"
>>
>> On Wednesday, February 1, 2023 at 1:42:12 AM UTC-5 dheinric wrote:
>>
>>> Am Dienstag, dem 31.01.2023 um 14:00 -0700 schrieb Alex Earl:
>>>
>>> None of the other SSH plugins do a copy over SSH.
>>>
>>>
>>> Yes, of course not. They were meant as examples how host key 
>>> verification is handled differently by other plugins that make use of SSH. 
>>> AFAIK the "publish-over-*" plugins don't use the same underlying SSH 
>>> library plugin and tus don't have the same capabilities. IIRR they also 
>>> don't use Jenkins' credentials provider...
>>>
>>> Bye...
>>>
>>> Dirk
>>>
>>> -- 
>>>
>>> *Dirk Heinrichs*
>>> Senior Systems Engineer, Delivery Pipeline
>>> OpenText ™ Discovery | Recommind
>>> *Phone*: +49 2226 15966 18 <+49%202226%201596618>
>>> *Email*: dhei...@opentext.com
>>> *Website*: www.recommind.de
>>> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
>>> Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, 
>>> Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
>>> This e-mail may contain confidential and/or privileged information. If 
>>> you are not the intended recipient (or have received this e-mail in error) 
>>> please notify the sender immediately and destroy this e-mail. Any 
>>> unauthorized copying, disclosure or distribution of the material in this 
>>> e-mail is strictly forbidden
>>> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
>>> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
>>> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und 
>>> vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte 
>>> Weitergabe dieser Mail sind nicht gestattet.
>>>
>> -- 
>>
> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkinsci-use...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/d317c501-823b-4f22-b262-1e8dd3e727e1n%40googlegroups.com
>>  
>> 
>> .
>>
>
>
> -- 
> Website: http://earl-of-code.com
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6bb166be-fce3-4f01-be6b-dd6af6ade4e1n%40googlegroups.com.


Re: Help with Publish Over SSH plugin?

2023-02-01 Thread Alex Earl
What user is your agent/controller running as? If you are running the
controller as Local System, it would be the second path, but I would highly
recommend that you setup a service account just for Jenkins and run Jenkins
as that user.

On Wed, Feb 1, 2023 at 12:03 PM zil...@gmail.com  wrote:

> When using the Publish Over SSH plugin in a job, what "known_hosts" file
> is it using? I see one in "c:\Users\myUser\.ssh\known_hosts" but also in
> "c:\Windows\system32\config\systemprofile\.ssh\known_hosts"
>
> On Wednesday, February 1, 2023 at 1:42:12 AM UTC-5 dheinric wrote:
>
>> Am Dienstag, dem 31.01.2023 um 14:00 -0700 schrieb Alex Earl:
>>
>> None of the other SSH plugins do a copy over SSH.
>>
>>
>> Yes, of course not. They were meant as examples how host key verification
>> is handled differently by other plugins that make use of SSH. AFAIK the
>> "publish-over-*" plugins don't use the same underlying SSH library plugin
>> and tus don't have the same capabilities. IIRR they also don't use Jenkins'
>> credentials provider...
>>
>> Bye...
>>
>> Dirk
>>
>> --
>>
>> *Dirk Heinrichs*
>> Senior Systems Engineer, Delivery Pipeline
>> OpenText ™ Discovery | Recommind
>> *Phone*: +49 2226 15966 18 <+49%202226%201596618>
>> *Email*: dhei...@opentext.com
>> *Website*: www.recommind.de
>> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
>> Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan,
>> Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
>> This e-mail may contain confidential and/or privileged information. If
>> you are not the intended recipient (or have received this e-mail in error)
>> please notify the sender immediately and destroy this e-mail. Any
>> unauthorized copying, disclosure or distribution of the material in this
>> e-mail is strictly forbidden
>> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
>> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
>> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
>> vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
>> Weitergabe dieser Mail sind nicht gestattet.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/d317c501-823b-4f22-b262-1e8dd3e727e1n%40googlegroups.com
> 
> .
>


-- 
Website: http://earl-of-code.com

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVc6YJ%3DDLPT6uWG8yexJ4XYvU67wpVfTVmZkL3poQQ-FGA%40mail.gmail.com.


Re: Help with Publish Over SSH plugin?

2023-02-01 Thread zil...@gmail.com
When using the Publish Over SSH plugin in a job, what "known_hosts" file is 
it using? I see one in "c:\Users\myUser\.ssh\known_hosts" but also in  
"c:\Windows\system32\config\systemprofile\.ssh\known_hosts"

On Wednesday, February 1, 2023 at 1:42:12 AM UTC-5 dheinric wrote:

> Am Dienstag, dem 31.01.2023 um 14:00 -0700 schrieb Alex Earl:
>
> None of the other SSH plugins do a copy over SSH.
>
>
> Yes, of course not. They were meant as examples how host key verification 
> is handled differently by other plugins that make use of SSH. AFAIK the 
> "publish-over-*" plugins don't use the same underlying SSH library plugin 
> and tus don't have the same capabilities. IIRR they also don't use Jenkins' 
> credentials provider...
>
> Bye...
>
> Dirk
>
> -- 
>
> *Dirk Heinrichs*
> Senior Systems Engineer, Delivery Pipeline
> OpenText ™ Discovery | Recommind
> *Phone*: +49 2226 15966 18 <+49%202226%201596618>
> *Email*: dhei...@opentext.com
> *Website*: www.recommind.de
> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
> Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, 
> Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
> This e-mail may contain confidential and/or privileged information. If you 
> are not the intended recipient (or have received this e-mail in error) 
> please notify the sender immediately and destroy this e-mail. Any 
> unauthorized copying, disclosure or distribution of the material in this 
> e-mail is strictly forbidden
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und 
> vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte 
> Weitergabe dieser Mail sind nicht gestattet.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/d317c501-823b-4f22-b262-1e8dd3e727e1n%40googlegroups.com.


Re: Help with Publish Over SSH plugin?

2023-01-31 Thread 'Dirk Heinrichs' via Jenkins Users
Am Dienstag, dem 31.01.2023 um 14:00 -0700 schrieb Alex Earl:

None of the other SSH plugins do a copy over SSH.

Yes, of course not. They were meant as examples how host key verification is 
handled differently by other plugins that make use of SSH. AFAIK the 
"publish-over-*" plugins don't use the same underlying SSH library plugin and 
tus don't have the same capabilities. IIRR they also don't use Jenkins' 
credentials provider...

Bye...

Dirk

--

Dirk Heinrichs
Senior Systems Engineer, Delivery Pipeline
OpenText ™ Discovery | Recommind
Phone: +49 2226 15966 18
Email: dhein...@opentext.com
Website: 
www.recommind.de
Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, 
Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht 
gestattet.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/e79bcfe2979ec0ed0c1fccc982cfc2972e32f9de.camel%40opentext.com.


Re: Help with Publish Over SSH plugin?

2023-01-31 Thread Alex Earl
None of the other SSH plugins do a copy over SSH.

On Tue, Jan 31, 2023 at 9:32 AM zil...@gmail.com  wrote:

> Thanks. I use the SSH agent plugin, but that's not strictly for FTP? I
> mean I have to script out pushing to an SFTP server? I'll look at the EC2
> Cloud plugin, though we're not an AWS shop (on prem).
>
> On Tuesday, January 31, 2023 at 1:34:47 AM UTC-5 dheinric wrote:
>
>> Am Montag, dem 30.01.2023 um 19:11 -0800 schrieb zil...@gmail.com:
>>
>> What other plugin would y'all recommend, that had the option to update
>> the known_hosts file, or have a "No strict host check" option?
>>
>>
>> There are other plugins that use SSH, for example the SSH Agent plugin or
>> the EC2 Cloud plugin. Both connect to agents using SSH and they offer 4
>> options for host key handling, from "strict" to "no check at all".
>>
>> Bye...
>>
>> Dirk
>>
>> --
>>
>> *Dirk Heinrichs*
>> Senior Systems Engineer, Delivery Pipeline
>> OpenText ™ Discovery | Recommind
>> *Phone*: +49 2226 15966 18 <+49%202226%201596618>
>> *Email*: dhei...@opentext.com
>> *Website*: www.recommind.de
>> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
>> Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan,
>> Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
>> This e-mail may contain confidential and/or privileged information. If
>> you are not the intended recipient (or have received this e-mail in error)
>> please notify the sender immediately and destroy this e-mail. Any
>> unauthorized copying, disclosure or distribution of the material in this
>> e-mail is strictly forbidden
>> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
>> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
>> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
>> vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
>> Weitergabe dieser Mail sind nicht gestattet.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/d9cc2a65-c521-449b-97d5-d7d84a7343c1n%40googlegroups.com
> 
> .
>


-- 
Website: http://earl-of-code.com

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVfci%3D_vfbLYdJ8_sSod%2Bi2_7XzNStbfR9i4ECAzDVGgjw%40mail.gmail.com.


Re: Help with Publish Over SSH plugin?

2023-01-31 Thread zil...@gmail.com
Thanks. I use the SSH agent plugin, but that's not strictly for FTP? I mean 
I have to script out pushing to an SFTP server? I'll look at the EC2 Cloud 
plugin, though we're not an AWS shop (on prem).

On Tuesday, January 31, 2023 at 1:34:47 AM UTC-5 dheinric wrote:

> Am Montag, dem 30.01.2023 um 19:11 -0800 schrieb zil...@gmail.com:
>
> What other plugin would y'all recommend, that had the option to update the 
> known_hosts file, or have a "No strict host check" option?
>
>
> There are other plugins that use SSH, for example the SSH Agent plugin or 
> the EC2 Cloud plugin. Both connect to agents using SSH and they offer 4 
> options for host key handling, from "strict" to "no check at all".
>
> Bye...
>
> Dirk
>
> -- 
>
> *Dirk Heinrichs*
> Senior Systems Engineer, Delivery Pipeline
> OpenText ™ Discovery | Recommind
> *Phone*: +49 2226 15966 18 <+49%202226%201596618>
> *Email*: dhei...@opentext.com
> *Website*: www.recommind.de
> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
> Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, 
> Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
> This e-mail may contain confidential and/or privileged information. If you 
> are not the intended recipient (or have received this e-mail in error) 
> please notify the sender immediately and destroy this e-mail. Any 
> unauthorized copying, disclosure or distribution of the material in this 
> e-mail is strictly forbidden
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und 
> vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte 
> Weitergabe dieser Mail sind nicht gestattet.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/d9cc2a65-c521-449b-97d5-d7d84a7343c1n%40googlegroups.com.


Re: Help with Publish Over SSH plugin?

2023-01-30 Thread 'Dirk Heinrichs' via Jenkins Users
Am Montag, dem 30.01.2023 um 19:11 -0800 schrieb 
zil...@gmail.com:

What other plugin would y'all recommend, that had the option to update the 
known_hosts file, or have a "No strict host check" option?

There are other plugins that use SSH, for example the SSH Agent plugin or the 
EC2 Cloud plugin. Both connect to agents using SSH and they offer 4 options for 
host key handling, from "strict" to "no check at all".

Bye...

Dirk

--

Dirk Heinrichs
Senior Systems Engineer, Delivery Pipeline
OpenText ™ Discovery | Recommind
Phone: +49 2226 15966 18
Email: dhein...@opentext.com
Website: 
www.recommind.de
Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, 
Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht 
gestattet.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/f2c4afbceaadcc71d3ce22ef4541995ff2e0eafe.camel%40opentext.com.


Re: Help with Publish Over SSH plugin?

2023-01-30 Thread zil...@gmail.com
What other plugin would y'all recommend, that had the option to update the 
known_hosts file, or have a "No strict host check" option?

Thanks

On Monday, January 30, 2023 at 4:36:56 PM UTC-5 slide wrote:

> Yes, but it would be nice if the plugin had different options like other 
> plugins do. I am not sure if there is a maintainer for that plugin right 
> now.
>
> On Mon, Jan 30, 2023 at 1:27 PM 'christop...@googlemail.com' via Jenkins 
> Users  wrote:
>
>>
>> Wouldn't a proper entry in the known-hosts file help here?
>>
>> zil...@gmail.com schrieb am Montag, 30. Januar 2023 um 17:25:49 UTC+1:
>>
>>> Bummer, thanks!
>>>
>>> On Monday, January 30, 2023 at 10:50:58 AM UTC-5 slide wrote:
>>>
 I don't think the PO SSH plugin supports different methods of host key 
 checking. You can see here that strict host key checking is always enabled 
 and there is no setting to disable it: 
 https://github.com/jenkinsci/publish-over-ssh-plugin/blob/3ffc0d5b1131611ef030d28d37fb4f8415574b37/src/main/java/jenkins/plugins/publish_over_ssh/BapSshHostConfiguration.java#L406

 On Fri, Jan 27, 2023 at 11:27 AM zil...@gmail.com  
 wrote:

> Sorry if this is not the correct forum for plugins help.
>
> I use https://plugins.jenkins.io/publish-over-ssh/ to upload to a 
> secure FTP server. Is there a way to set it disable "Strict host key 
> checking"? At least it's not obvious to me. By this I mean, when you SSH 
> to 
> a machine (the plugin uses SSH), it'll as you
>
> "The authenticity of host 'ftp.company.com (12.70.x.x)' can't be 
> established.
>
> RSA key fingerprint is SHA256:x.
>
> Are you sure you want to continue connecting (yes/no/[fingerprint])? 
> yes
>
> Warning: Permanently added 'ftp.company.com,12.70.x.x' (RSA) to the 
> list of known hosts."
>
> I created a test job, and working with our IT person, we don't even 
> see it proceed to the username/password authentication, so I'm "guessing" 
> it's stuck with the above
>
> TIA,
>
> Chris
>
> -- 
> You received this message because you are subscribed to the Google 
> Groups "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send 
> an email to jenkinsci-use...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/397f4fc4-698b-457f-96e0-19c85d411b8bn%40googlegroups.com
>  
> 
> .
>


 -- 
 Website: http://earl-of-code.com

>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkinsci-use...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/a996ced4-3b01-49f5-b94d-02b3a1544a0an%40googlegroups.com
>>  
>> 
>> .
>>
>
>
> -- 
> Website: http://earl-of-code.com
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/607234dd-6b12-43f2-9655-fa2ac8edd7dan%40googlegroups.com.


Re: Help with Publish Over SSH plugin?

2023-01-30 Thread Alex Earl
Yes, but it would be nice if the plugin had different options like other
plugins do. I am not sure if there is a maintainer for that plugin right
now.

On Mon, Jan 30, 2023 at 1:27 PM 'christop...@googlemail.com' via Jenkins
Users  wrote:

>
> Wouldn't a proper entry in the known-hosts file help here?
>
> zil...@gmail.com schrieb am Montag, 30. Januar 2023 um 17:25:49 UTC+1:
>
>> Bummer, thanks!
>>
>> On Monday, January 30, 2023 at 10:50:58 AM UTC-5 slide wrote:
>>
>>> I don't think the PO SSH plugin supports different methods of host key
>>> checking. You can see here that strict host key checking is always enabled
>>> and there is no setting to disable it:
>>> https://github.com/jenkinsci/publish-over-ssh-plugin/blob/3ffc0d5b1131611ef030d28d37fb4f8415574b37/src/main/java/jenkins/plugins/publish_over_ssh/BapSshHostConfiguration.java#L406
>>>
>>> On Fri, Jan 27, 2023 at 11:27 AM zil...@gmail.com 
>>> wrote:
>>>
 Sorry if this is not the correct forum for plugins help.

 I use https://plugins.jenkins.io/publish-over-ssh/ to upload to a
 secure FTP server. Is there a way to set it disable "Strict host key
 checking"? At least it's not obvious to me. By this I mean, when you SSH to
 a machine (the plugin uses SSH), it'll as you

 "The authenticity of host 'ftp.company.com (12.70.x.x)' can't be
 established.

 RSA key fingerprint is SHA256:x.

 Are you sure you want to continue connecting (yes/no/[fingerprint])? yes

 Warning: Permanently added 'ftp.company.com,12.70.x.x' (RSA) to the
 list of known hosts."

 I created a test job, and working with our IT person, we don't even see
 it proceed to the username/password authentication, so I'm "guessing" it's
 stuck with the above

 TIA,

 Chris

 --
 You received this message because you are subscribed to the Google
 Groups "Jenkins Users" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to jenkinsci-use...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/jenkinsci-users/397f4fc4-698b-457f-96e0-19c85d411b8bn%40googlegroups.com
 
 .

>>>
>>>
>>> --
>>> Website: http://earl-of-code.com
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/a996ced4-3b01-49f5-b94d-02b3a1544a0an%40googlegroups.com
> 
> .
>


-- 
Website: http://earl-of-code.com

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVeigtjcJdCpyVjGSEETmCNhjwordPYF1NcUmJ9-ZOh%3DMg%40mail.gmail.com.


Re: Help with Publish Over SSH plugin?

2023-01-30 Thread 'christop...@googlemail.com' via Jenkins Users

Wouldn't a proper entry in the known-hosts file help here?

zil...@gmail.com schrieb am Montag, 30. Januar 2023 um 17:25:49 UTC+1:

> Bummer, thanks!
>
> On Monday, January 30, 2023 at 10:50:58 AM UTC-5 slide wrote:
>
>> I don't think the PO SSH plugin supports different methods of host key 
>> checking. You can see here that strict host key checking is always enabled 
>> and there is no setting to disable it: 
>> https://github.com/jenkinsci/publish-over-ssh-plugin/blob/3ffc0d5b1131611ef030d28d37fb4f8415574b37/src/main/java/jenkins/plugins/publish_over_ssh/BapSshHostConfiguration.java#L406
>>
>> On Fri, Jan 27, 2023 at 11:27 AM zil...@gmail.com  
>> wrote:
>>
>>> Sorry if this is not the correct forum for plugins help.
>>>
>>> I use https://plugins.jenkins.io/publish-over-ssh/ to upload to a 
>>> secure FTP server. Is there a way to set it disable "Strict host key 
>>> checking"? At least it's not obvious to me. By this I mean, when you SSH to 
>>> a machine (the plugin uses SSH), it'll as you
>>>
>>> "The authenticity of host 'ftp.company.com (12.70.x.x)' can't be 
>>> established.
>>>
>>> RSA key fingerprint is SHA256:x.
>>>
>>> Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
>>>
>>> Warning: Permanently added 'ftp.company.com,12.70.x.x' (RSA) to the 
>>> list of known hosts."
>>>
>>> I created a test job, and working with our IT person, we don't even see 
>>> it proceed to the username/password authentication, so I'm "guessing" it's 
>>> stuck with the above
>>>
>>> TIA,
>>>
>>> Chris
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Jenkins Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to jenkinsci-use...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/jenkinsci-users/397f4fc4-698b-457f-96e0-19c85d411b8bn%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>>
>>
>> -- 
>> Website: http://earl-of-code.com
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/a996ced4-3b01-49f5-b94d-02b3a1544a0an%40googlegroups.com.


Re: Help with Publish Over SSH plugin?

2023-01-30 Thread zil...@gmail.com
Bummer, thanks!

On Monday, January 30, 2023 at 10:50:58 AM UTC-5 slide wrote:

> I don't think the PO SSH plugin supports different methods of host key 
> checking. You can see here that strict host key checking is always enabled 
> and there is no setting to disable it: 
> https://github.com/jenkinsci/publish-over-ssh-plugin/blob/3ffc0d5b1131611ef030d28d37fb4f8415574b37/src/main/java/jenkins/plugins/publish_over_ssh/BapSshHostConfiguration.java#L406
>
> On Fri, Jan 27, 2023 at 11:27 AM zil...@gmail.com  
> wrote:
>
>> Sorry if this is not the correct forum for plugins help.
>>
>> I use https://plugins.jenkins.io/publish-over-ssh/ to upload to a secure 
>> FTP server. Is there a way to set it disable "Strict host key checking"? At 
>> least it's not obvious to me. By this I mean, when you SSH to a machine 
>> (the plugin uses SSH), it'll as you
>>
>> "The authenticity of host 'ftp.company.com (12.70.x.x)' can't be 
>> established.
>>
>> RSA key fingerprint is SHA256:x.
>>
>> Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
>>
>> Warning: Permanently added 'ftp.company.com,12.70.x.x' (RSA) to the list 
>> of known hosts."
>>
>> I created a test job, and working with our IT person, we don't even see 
>> it proceed to the username/password authentication, so I'm "guessing" it's 
>> stuck with the above
>>
>> TIA,
>>
>> Chris
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkinsci-use...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/397f4fc4-698b-457f-96e0-19c85d411b8bn%40googlegroups.com
>>  
>> 
>> .
>>
>
>
> -- 
> Website: http://earl-of-code.com
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/2710a973-dd64-4f7f-86a3-bd6f3bcc654fn%40googlegroups.com.


Re: Help with Publish Over SSH plugin?

2023-01-30 Thread Alex Earl
I don't think the PO SSH plugin supports different methods of host key
checking. You can see here that strict host key checking is always enabled
and there is no setting to disable it:
https://github.com/jenkinsci/publish-over-ssh-plugin/blob/3ffc0d5b1131611ef030d28d37fb4f8415574b37/src/main/java/jenkins/plugins/publish_over_ssh/BapSshHostConfiguration.java#L406

On Fri, Jan 27, 2023 at 11:27 AM zil...@gmail.com  wrote:

> Sorry if this is not the correct forum for plugins help.
>
> I use https://plugins.jenkins.io/publish-over-ssh/ to upload to a secure
> FTP server. Is there a way to set it disable "Strict host key checking"? At
> least it's not obvious to me. By this I mean, when you SSH to a machine
> (the plugin uses SSH), it'll as you
>
> "The authenticity of host 'ftp.company.com (12.70.x.x)' can't be
> established.
>
> RSA key fingerprint is SHA256:x.
>
> Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
>
> Warning: Permanently added 'ftp.company.com,12.70.x.x' (RSA) to the list
> of known hosts."
>
> I created a test job, and working with our IT person, we don't even see it
> proceed to the username/password authentication, so I'm "guessing" it's
> stuck with the above
>
> TIA,
>
> Chris
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/397f4fc4-698b-457f-96e0-19c85d411b8bn%40googlegroups.com
> 
> .
>


-- 
Website: http://earl-of-code.com

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVc96x4CwghBt5WL5EHJTeZsWhcGC6zR1fhTMi0ErcsFGQ%40mail.gmail.com.