GithubHelp home page GithubHelp logo

testainers / sshd-container Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 65 KB

Small container image to test ssh connections.

Home Page: https://testainers.com

License: MIT License

Dockerfile 10.20% Shell 89.80%
docker docker-container docker-image podman podman-image ssh sshd test podman-container test-automation hacktoberfest testainers

sshd-container's Introduction

Testainers sshd-container

Build With Love Version Licence Build

The small container image is designed specifically for testing SSH connections.

It serves as a lightweight and efficient tool to verify and troubleshoot SSH connectivity in various scenarios. With its compact size, the container can be easily deployed and run on different systems or platforms without consuming excessive resources.

This container image encapsulates the necessary components and configurations to establish SSH connections, making it convenient for developers, system administrators, and network engineers who frequently work with SSH. It includes a minimal operating system with essential SSH client libraries and utilities, ensuring that only the essential components are present, thus reducing the image size and eliminating unnecessary overhead.

This container image can be easily customized and extended to meet specific requirements. Users can add additional tools or libraries as needed, ensuring that the container is tailored to their particular use cases. This flexibility allows for seamless integration into existing development workflows and facilitates the automation of SSH connection testing within CI/CD pipelines or other automated processes.

Overall, the small container image for testing SSH connections offers a practical and resource-efficient solution for verifying SSH connectivity. Its simplicity, portability, and extensibility make it an invaluable asset for anyone working with SSH and looking to streamline the process of testing and troubleshooting SSH connections.

Funding

Your contribution will help drive the development of quality tools for the Flutter and Dart developer community. Any amount will be appreciated. Thank you for your continued support!

BuyMeACoffee

PIX

Sua contribuição ajudará a impulsionar o desenvolvimento de ferramentas de para a co munidade de desenvolvedores Flutter e Dart. Qualquer quantia será apreciada. Obrigado pelo seu apoio contínuo!

PIX


Environment Variables

Variable Description Default
SSHD_USER User to connect root
SSHD_PASSWORD Password for the user root
SSHD_USER_FILE File (or secret) with user to connect -------
SSHD_PASSWORD_FILE File (or secret) with password for the user -------

How to Use

docker run --rm --name sshd -e "SSHD_USER=test" -e "SSHD_PASSWORD=test" -p 22022:22 -d testainers/sshd-container:latest

How to Connect

ssh -p 22022 -o PubkeyAuthentication=no -o UserKnownHostsFile=/dev/null [email protected]

Build

docker build . --no-cache -t sshd-container

Run

docker run --rm --name sshd -e "SSHD_USER=test" -e "SSHD_PASSWORD=test" -p 22022:22 -d sshd-container

sshd-container's People

Contributors

edufolly avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

rekrakmek

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.