Fixes https://github.com/spring-projects/spring-integration/issues/8581 Do not overwrite configuration of externally provided `SshClient` in the `DefaultSftpSessionFactory` * Replace JUnit `assertDoesNotThrow` by AssertJ `assertThatNoException` in test **Cherry-pick to `6.0.x`**