...and logged in as user "Administrator", I can connect to the SFTP server 
manually. My plugin uses the "devops" user too.

sftp [email protected]

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

Thanks

On Wednesday, February 1, 2023 at 4:14:51 PM UTC-5 [email protected] 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 [email protected] <[email protected]> 
>> 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*: [email protected]
>>>> *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 [email protected].
>>>
>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/jenkinsci-users/d317c501-823b-4f22-b262-1e8dd3e727e1n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/jenkinsci-users/d317c501-823b-4f22-b262-1e8dd3e727e1n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
>>
>> -- 
>> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/3287abc8-974d-49f5-8269-582d29f98f4fn%40googlegroups.com.

Reply via email to