Dockerized SSH box

First start:

  • copy example-env to .env

  • Edit the file:

    • modify your user ID number as USR
    • EXPOSE to port exposed outside
  • start with docker-compose

  • data/ and home/ folders appear

  • create user by adding authorized_keys contents to data/users/[UID]-[username] file

    • example: vim users/2000-user1 <- copy id_rsa.pub contents there
Description
No description provided
Readme 48 KiB
Languages
Shell 85.6%
Makefile 11.2%
Dockerfile 3.2%