Skip to content

coralhq/docker-sshd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-sshd

Passwordless SSH daemon Docker image using GitHub public keys for auth

sample run

docker run -d --name=sshd \
  -e GITHUB_USERS="akhy sabrinathebot" \
  -p 2222:22 \
  coralteam/sshd:base

The startup script will automatically download akhy and sabrinathebot's public keys from GitHub and add them to $HOME/.ssh/authorized_keys. Now you can login without password using your private key.

ssh -p 2222 root@localhost

image variants

  • base: base image based on debian:jessie
  • http-debug: contains wget, curl, and httpie among other things
  • ... more to come

About

Passwordless SSH daemon Docker image using GitHub public keys for auth

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages