davsclaus opened a new pull request, #24756: URL: https://github.com/apache/camel/pull/24756
## Summary - Fix `SftpOperations.createSession` unconditionally applying `~/.ssh/known_hosts` fallback that overwrites any previously configured `knownHostsUri` or `knownHosts` byte array (JSch's `setKnownHosts()` wipes the prior repository) - The fallback guard now also checks that `knownHostsUri` and `knownHosts` are not set, so it only fires when none of the three explicit known-hosts sources are configured ## Test plan - [x] `camel-ftp` module compiles - [ ] Existing SFTP integration tests pass - [ ] Verify that `knownHostsUri` without `useUserKnownHostsFile=false` no longer gets clobbered _Claude Code on behalf of davsclaus_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
