Skip to main content

Module ssh_server

Module ssh_server 

Source
Expand description

SSH Server Container for Integration Testing

This module provides SSH server containers for testing SSH client functionality. Two implementations are available:

  • MockSshServerContainer: Fast mock for tests that don’t need real SSH connectivity
  • RealSshServerContainer: Actual Docker SSH server for full integration tests

Both implementations provide the same interface through the SshServerContainer trait, allowing for polymorphic usage in tests.

Structs§

ContainerInfo
Information about a specific Docker container
DockerDebugInfo
Debug information collected about Docker containers
MockSshServerContainer
Mock SSH server container for fast testing
RealSshServerContainer
Real SSH server container using Docker
SshServerConfig
Configuration for SSH server containers
SshServerConfigBuilder
Builder for SSH server configuration

Enums§

SshServerError
Errors that can occur when working with SSH server containers

Traits§

SshServerContainer
Common interface for SSH server containers (mock and real)

Functions§

print_docker_debug_info
Debug helper function to collect and print Docker container information