Wouldn't a proper entry in the known-hosts file help here? [email protected] 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 [email protected] <[email protected]> >> 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 [email protected]. >>> 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/a996ced4-3b01-49f5-b94d-02b3a1544a0an%40googlegroups.com.
