Sign inSign up

christophlsa/archlinux-sshd

By christophlsa

•Updated 11 months ago

Archlinux image with running openssh server and installed rsync

Image
0

1.1K

christophlsa/archlinux-sshd repository overview

⁠archlinux-sshd

This image provides an archlinux image with a running openssh server with the rsync command installed. Currently only the latest docker tag exists.

You can run the image like this (you can also use the image from the github repository: ghcr.io/christophlsa/archlinux-sshd):

sudo docker run --rm -d --name sshd -p 2222:2222 -e PUBLIC_KEY="..." christophlsa/archlinux-sshd
  • This image will create the user sshuser and when the container is started, the ssh public key will be added to the authorized_keys. The public key can be passed by adding the PUBLIC_KEY environment variable.
  • The openssh server is bound and exposed on port 2222.
  • On each boot the container will generate the archlinux keys, update all packages, generate the openssh keys and start the openssh server.
  • If you wish, you can mount any volume on the container.
  • The user has sudo access - no password is required (no password is set anyway).

The image get automatically rebuild every Monday 3am UTC.

Links:

Tag summary

Content type

Image

Digest

sha256:3ff360853…

Size

399.5 MB

Last updated

11 months ago

docker pull christophlsa/archlinux-sshd