/docker-sshd

Docker image for SSH Server

Primary LanguageDockerfileMIT LicenseMIT

docker-sshd

Running with docker commands

step 1: Download the latest version of the image

docker pull chenzhtbb/sshd:latest

step 2: To run with an interactive sh session

docker run -dit -p $port:22 --name sshd -e SSH_USER=$username -e SSH_PASSWORD=$password chenzhtbb/sshd:latest

step 3: Use the ssh tool to connect