Public | Automated Build

Last pushed: 5 months ago
Short Description
sshd service. PublicKey Auth.
Full Description

ubuntu-sshd-pubkeyauth

Dockerized sshd service. built on official ubntu service. PublicKey Auth.

Usage

$ docker run -d -p 50022:22 -e="AUTHORIZED_KEYS=ssh-rsa AAAAB3...vqOw== someone@example.com" okadahiroshi/ubuntu-sshd-pubkeyauth

$ ssh root@hostname.example.com -p 50022

you must supply AUTHORIZED_KEYS

  • example
$ docker run -d -p 52222:22 -e="AUTHORIZED_KEYS=`cat ~/.ssh/id_rsa.pub`" okadahiroshi/ubuntu-sshd-pubkeyauth
Docker Pull Command
Owner
okadahiroshi

Comments (0)