Sign inSign up

2niuhe/fake_linux_node

By 2niuhe

Updated over 2 years ago

run sshd in container to fake a linux node

Image
Developer tools
0

1.1K

2niuhe/fake_linux_node repository overview

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

Tag summary

Content type

Image

Digest

sha256:0c12d288d

Size

16.6 MB

Last updated

over 2 years ago

docker pull 2niuhe/fake_linux_node