Skip to content

matthillmanbt/old_ssh_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Docker image to run SSHD on old Linux distros

Resources

License

Stars

Watchers

Forks