Add SFTP host key check example by julianladisch · Pull Request #10127 · testcontainers/testcontainers-java

@julianladisch

The new SftpContainerHostKeyTest.java demonstrates how to upload a
private host key into the SFTP server allowing host key checking.

It avoids the unsecure ("StrictHostKeyChecking", "no") of SftpContainerTest.

@julianladisch requested a review from a team

March 24, 2025 19:50

@eddumelendez

@eddumelendez

@eddumelendez eddumelendez changed the title examples/sftp: SftpContainerHostKeyTest with host key checking Add SFTP host key check example

Mar 24, 2025

eddumelendez