用户密码看命令行
docker run -ti -p 2222:22 \
-v $(pwd)/keys/:/etc/ssh/keys \
-v $(pwd)/data/:/data/ \
-e SSH_ENABLE_ROOT=true \
-e SSH_ENABLE_PASSWORD_AUTH=true\
panubo/sshd
用户密码看命令行
docker run -ti -p 2222:22 \
-v $(pwd)/keys/:/etc/ssh/keys \
-v $(pwd)/data/:/data/ \
-e SSH_ENABLE_ROOT=true \
-e SSH_ENABLE_PASSWORD_AUTH=true\
panubo/sshd