run sshd in container to fake a linux node
1.1K
run sshd in docker container
default username: sshuser default ssh password: sshpassword
You can also specify user and password through env variable.For example
docker pull 2niuhe/fake_linux_node
# default usage
docker run -d -p 9000:22 2niuhe/fake_linux_node
docker run -d -p 9001:22 -e USERNAME=test -e PASSWORD=test123 2niuhe/fake_linux_node
Then you can login the fake node with ssh
ssh [email protected] -p 9000
ssh [email protected] -p 9001
Content type
Image
Digest
sha256:0c12d288d…
Size
16.6 MB
Last updated
over 2 years ago
docker pull 2niuhe/fake_linux_node