Github:https://github.com/iii80/docker-openssh-server
Image Tags Tags are defined by the mask: devdotnetorg/openssh-server:<OS_name>-<OS_version>. For example, the image devdotnetorg/openssh-server:ubuntu-24.04 is built based on Ubuntu version 24.04.
Images for the following OS versions are builded:
Ubuntu: 16.04, 18.04, 20.04, 22.04, 22.10, 23.04, 23.10, 24.04;
Debian: 10, 11, 12;
Alpine: 3.15, 3.16, 3.17, 3.18, 3.19, 3.20.
Tags for RISC-V (riscv64)
:ubuntu-riscv64 - Ubuntu 22.04;
:debian-riscv64 - Debian SID;
:alpine-riscv64 - Alpine edge.
Quick Start
Environment Variables Set variable of password for root user:
-e USER_PASSWORD=123456
Run container with public port for connections is 2222, password for user root is 654321, volume openssh-server-data for transfer data in/out of container:
$ docker run -d --name openssh-server -p 2222:22 -e USER_PASSWORD=654321 -v openssh-server-data:/data devdotnetorg/openssh-server:ubuntu
For network is mynetwork:
$ docker run -d --name openssh-server --net mynetwork --ip 172.18.0.20 -p 2222:22 -e USER_PASSWORD=654321 -v openssh-server-data:/data devdotnetorg/openssh-server:ubuntu
Connect to container Run Putty set you IP address and port 2222
login root, password 654321
Content type
Image
Digest
sha256:0bb22e965…
Size
108 MB
Last updated
over 1 year ago
docker pull iii80/openssh-server