Commit graph

10 commits

Author SHA1 Message Date
Pietro 0108fcf653
Split run.sh and add git retrival
This patch modularize run.sh, adding two new helper scripts and
make it possible to specify a git repository for ssh keys via a
new env variable `BORG_SSHKEYS_REPO`.

the modularization add two new files :
- `env.sh` : define a few envriroment variables
- `create-client-dirs.sh`  : update and create user directories and
  re-create authorized_keys

We also add a new script `update-ssh-keys.sh` to be called regurlarly
in a cron job to check if the git repository is up-to-date and
eventually adding/removing users.
2020-03-24 14:03:24 +01:00
nold ac797c90f6 Minor output change to PR#5 - thanks abmaonline 2019-12-05 16:55:06 +01:00
Matthijs Abma 5d0d13c42a Add simple integrity check for authorized_keys file, in case you put something interesting in your BORG_SERVE_ARGS 2019-12-01 17:58:29 +01:00
Matthijs Abma 590d6712fb Create borg group and add option to set user id and group id explicitly for easier access to host resources 2019-12-01 17:56:05 +01:00
nold 7643f16ebd Change: Ignore hidden files & files inside of hidden directories [pull/3] 2019-07-05 13:20:24 +02:00
Gerrit Pannek 1b4ea9e2a0 Added new Feature - BORG_APPEND_ONLY & BORG_ADMIN 2019-04-09 17:59:08 -05:00
nold d471015ecb Add ENV-Variable, reset authorized_keys, run.sh as entrypoint
(cherry picked from commit 993b9f0cc674974c5f008a4c3fd0d2bbcd397c7e)
2017-11-01 17:53:05 +01:00
nold 51566a95da Security fix: Delete SSH-Hostkeys in image & regenerate on first run 2017-10-20 16:29:29 +02:00
nold f06a55875b Add: Ciphers/Cryptoparams to sshd_config 2017-10-20 07:12:41 +02:00
nold e0b47ab989 Initital Commit 2017-10-19 19:41:41 +02:00