Sign inSign up

sig9/alpine-openssh-client

By sig9

•Updated 3 months ago

Docker image of Alpine with OpenSSH client installed

Image
0

4.4K

sig9/alpine-openssh-client repository overview

⁠Docker image of Alpine with OpenSSH client installed

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.

⁠DockerHub

sig9/alpine-openssh-client⁠ supports the following tags:

⁠How to use

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

⁠How to build

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 \
  .

⁠Run the original Alpine

⁠Connect to the container shell
docker run -it -d --name alpine alpine:3.24.1
docker exec -it alpine ash
⁠Check the OpenSSH version
apk update
apk info openssh-client sshpass

Tag summary

Content type

Image

Digest

sha256:4a504447d…

Size

5.2 MB

Last updated

3 months ago

docker pull sig9/alpine-openssh-client