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 <zill...@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:xxxxxxxxxxxxxxxxxxxxxxxxx.
>
> 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
> <https://groups.google.com/d/msgid/jenkinsci-users/397f4fc4-698b-457f-96e0-19c85d411b8bn%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 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.

Reply via email to