Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 770 Bytes

File metadata and controls

19 lines (15 loc) · 770 Bytes

Old Linux SSH Container Test Images

Docker image to run SSHD on Older Linux OSes. This can be used to test SSH connections on an OS that does not support newer signature algorithms.

Each OS has Dockerfile/compose.yaml in its own subfolder.

To use:

  1. Edit authorized_keys and add any necessary public key entires
  2. Navigate to the desired OS folder
  3. Build the image with your desired end user: docker compose build --build-arg username=<user>
  4. Run docker compose up
  5. Connect to the server at ssh <user>@<host ip> -p 22222
    • <host ip> is the IP of the host machine running docker
    • <user> is what was passed as the build argument
    • The port is always 22222

Versions:

  • CentOS 7 is using OpenSSH 7.x
  • Ubuntu 14 is using OpenSSH 6.x