Skip to content
/ sshcont Public

ssh daemon that starts and enters a throwaway docker container for testing

License

Notifications You must be signed in to change notification settings

abbbi/sshcont

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spawn throwaway systemd or non-systemd based containers using ssh.

 export DOCKER_API_VERSION=1.45
 go run .

and then:

 ssh -l "jrei/systemd-debian" -o StrictHostKeychecking=no localhost -p 2222

or likewise:

RHEL:
 ssh -l "registry.access.redhat.com/ubi9/ubi-init:latest" -o StrictHostKeychecking=no localhost -p 2222
SLES:
 ssh -l "registry.suse.com/bci/bci-init:15.6" -o StrictHostKeychecking=no localhost -p 2222

regular:

ssh -l "debian:bookworm" -o StrictHostKeychecking=no localhost -p 2222
ssh -l "alpine:latest" -o StrictHostKeychecking=no localhost -p 2222

About

ssh daemon that starts and enters a throwaway docker container for testing

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

Languages