Sign inSign up

bmoorman/sshd

By bmoorman

•Updated about 17 hours ago

OpenSSH [openssh.com] on Ubuntu

Image
1

100K+

bmoorman/sshd repository overview

⁠How to use this image

⁠Docker Run

docker run \
--detach \
--name sshd \
--restart unless-stopped \
--publish 2222:22 \
--volume sshd-config:/config \
bmoorman/sshd:latest

⁠Docker Compose

version: "3.7"
services:
  sshd:
    image: bmoorman/sshd:latest
    container_name: sshd
    restart: unless-stopped
    ports:
      - "2222:22"
    volumes:
      - sshd-config:/config

volumes:
  sshd-config:

⁠Environment Variables

VariableDescriptionDefault
TZSets the timezoneAmerica/Denver
SSHD_PORTSets the port sshd listens on22
SSHD_USERSSpace-separated list of users to create<empty>
SSHD_KEY_LOCBase location of accompanying keys for above users<empty>

Tag summary

Content type

Image

Digest

sha256:d2b9ff94d…

Size

70.6 MB

Last updated

about 17 hours ago

docker pull bmoorman/sshd