Files
ssh-box/README.md
2021-12-20 19:12:06 +02:00

374 B

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