Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 308 Bytes

File metadata and controls

6 lines (5 loc) · 308 Bytes

Use this image to generate ssh keys once and share them will other containers.

##Usage

  • docker run -d --name ssh-key kagux/ssh-keygen to generate keys.
  • docker logs ssh-key to print public key
  • docker run --rm -t --volumes-from ssh-key busybox ls /root/.ssh/ to access keys from another container