testcontainers / testcontainers/testcontainers-python
New Container: sshd container with different variant `ubuntu, fedora, archlinux, ...`, with ability to preset a lot of authetication related value
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.3k
- Forks
- 386
- Avg merge
- 4h 40m
- Merged PRs (30d)
- 1
Description
What is the new container you'd like to have?
If possible just OS container like ubuntu, fedora, ...
But with sshd service enabled, and the authentication or users is preset by the provided argument to the Container class.
This class of container can significantly ease the testing process for user who are developing SSH-protocol related application.
Today, too many utility are depending on SSH protocol for secure connection (like git, rsync, sshfs, ...), especially in Unix/Linux world.
Why not just use a generic container for this?
Because sshd setup and configuration is relatively complicated, if all the time, user have to manually configure it, it will waste user a lot of time, and it is buggy especially apply it in a testing scenario.
There is different way of authentication and setting for sshd running in different distro.
If this work is done by the user, the user has to manually copy and do string editing in the configuration file for sshd. If exception arise, user will be very difficult to figure out whether the error is from their testcase or the container itself.
And SSHD is a different protocol to HTTP.
Other references:
Include any other relevant reading material about the enhancement.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no file or test entry point. Start by reviewing the repository's existing container APIs and the linked OpenSSH and sshd references, then define supported distribution variants, authentication inputs, and tests that demonstrate the container is ready for SSH-protocol use.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python
- Domain
- devops, testing-qa
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100