2024-07-26 15:37:31 +03:00
2024-03-02 12:43:24 +02:00
2024-03-02 12:43:24 +02:00
2024-07-26 15:37:31 +03:00
2024-07-26 15:37:31 +03:00
2024-03-16 16:03:53 +02:00

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, or by using make

  • data/ folder appears. It contains users definitions, and home folders

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

    • example: vim users/2000-user1 <- copy id_rsa.pub contents there
  • use UID >=2000

  • you can also use the user-add script

Description
No description provided
Readme 48 KiB
Languages
Shell 85.6%
Makefile 11.2%
Dockerfile 3.2%