A SSHD service running in Docker.
curl -sSL https://get.docker.com/ | sh
docker pull kallydev/docker-sshd:latest
docker pull docker.pkg.github.com/kallydev/docker-sshd/docker-sshd:1.0.0
git clone https://github.com/kallydev/docker-sshd
cd docker-sshd
docker build -t kallydev/docker-sshd
You can specify the port that the SSHD service opens to the external network, for example 1022.
docker run -d -p 1022:22 -it kallydev/docker-sshd
If your server IP is 42.42.42.42 and the port of SSHD service is 1022.
# Your default password is `docker-sshd`
ssh [email protected] -p 1022
passwd
Copyright (c) KallyDev. All rights reserved.
Licensed under the MIT license.
Content type
Image
Digest
Size
85.1 MB
Last updated
about 6 years ago
docker pull kallydev/docker-sshd