more helps

This commit is contained in:
2021-12-20 19:12:06 +02:00
parent 78b8bf290f
commit 9917db1e85
2 changed files with 9 additions and 7 deletions

View File

@@ -1,13 +1,15 @@
# Dockerized SSH box
First start:
first start:
copy example-env to .env
modify your user ID as USR
EXPOSE to port exposed outside
- 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 users/[UID]-[username] file
- create user by adding authorized_keys contents to data/users/[UID]-[username] file
- example: `vim users/2000-user1` <- copy id_rsa.pub contents there