Docker image of Alpine with OpenSSH client installed
4.4K
This is a Docker container image based on Alpine, with different versions of the OpenSSH client installed. It was created to perform verification based on OpenSSH version differences.
sig9/alpine-openssh-client supports the following tags:
For example, if it is version 6.6_p1-r8, execute it as follows:
docker run -it --name alpine-openssh-client sig9/alpine-openssh-client:6.6_p1-r8
Here is an actual example of execution:
# docker run -it --name alpine-openssh-client sig9/alpine-openssh-client:6.6_p1-r8
Unable to find image 'sig9/alpine-openssh-client:6.6_p1-r8' locally
6.6_p1-r8: Pulling from sig9/alpine-openssh-client
0f253aa151d7: Already exists
2fe44c2799dc: Pull complete
Digest: sha256:4ba330360e7519f411c37d164e8e947c53941a797da824a94a1da92804fcd6e3
Status: Downloaded newer image for sig9/alpine-openssh-client:6.6_p1-r8
/ #
/ #
/ # ssh -V
OpenSSH_6.6.1p1-hpn14v4, OpenSSL 1.0.1u 22 Sep 2016
docker buildx build \
--build-arg ALPINE=3.24 \
--build-arg REPOSITORY=3.24 \
--build-arg OPENSSH=10.3_p1-r0 \
--build-arg SSHPASS=1.10-r0 \
--platform linux/amd64,linux/arm/v6 \
--output=type=registry \
--tag sig9/alpine-openssh-client:10.3_p1-r0 \
--tag sig9/alpine-openssh-client:latest \
.
docker run -it -d --name alpine alpine:3.24.1
docker exec -it alpine ash
apk update
apk info openssh-client sshpass
Content type
Image
Digest
sha256:4a504447d…
Size
5.2 MB
Last updated
3 months ago
docker pull sig9/alpine-openssh-client