Skip to content

Add SFTP host key check example #10127

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 24, 2025

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 as a code owner 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