KEMBAR78
Add SFTP host key check example by julianladisch · Pull Request #10127 · testcontainers/testcontainers-java · GitHub
Skip to content

Conversation

@julianladisch
Copy link
Contributor

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.

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 julianladisch requested a review from a team March 24, 2025 19:50
@eddumelendez
Copy link
Member

Same PR could have been updated

@eddumelendez eddumelendez changed the title examples/sftp: SftpContainerHostKeyTest with host key checking Add SFTP host key check example Mar 24, 2025
@eddumelendez eddumelendez merged commit 55f2347 into testcontainers:main Mar 24, 2025
108 checks passed
@eddumelendez
Copy link
Member

Thanks for your contribution, @julianladisch !

@julianladisch julianladisch deleted the sftp-host-key branch March 24, 2025 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants