基于 hermsi/alpine-sshd 构建的超小型 sshd 容器,可以自定义密码,同时可以绑定至域名 coor.fun 下实现公网连接。
1.3K
eg. To start : docker run -d -e "ROOT_PASSWORD=123456" -e "BIND_PORT=5678" --name test imr0219/ssh
To client it ssh coor.fun -p <BIND_PORT>
ROOT_PASSWORD 不能是 root BIND_PORT 可以取 5000 ~ 6000 (取决于是否被占用,以及我的 host 端口开放情况)
Content type
Image
Digest
Size
3.6 MB
Last updated
over 7 years ago
docker pull imr0219/ssh