Commit graph

21 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
a741486bb3 Add: docker-compose.yml 2019-07-05 13:25:16 +02: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
ae2f6c90ef * New base-image: debian:buster-slim
* Smaller Image Footprint (169MB -> 116MB)
* Remove support for the hmac-ripemd160 MAC (OpenSSH 7.9p1)
2018-11-12 15:04:21 +01:00
nold
5e5031e828 More cool & free (as in beer) README stuff! 2017-11-01 18:34:30 +01: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
184a435060 Add: gitignore
(cherry picked from commit 222ae10c6fc95a9013bfbb8719e51ce61903b1c0)
2017-10-27 11:44:45 +02:00
nold
7cc7dbd927 Small Dockerfile improvements 2017-10-27 11:29:02 +02:00
nold
9e800b88e4 Small fix in README
(cherry picked from commit 69e0cdbddebabfa4491c571371a165cb0c1276a2)
2017-10-26 12:58:43 +02:00
nold
accc4ab3aa Yet another small README update 2017-10-20 16:41:53 +02:00
nold
51566a95da Security fix: Delete SSH-Hostkeys in image & regenerate on first run 2017-10-20 16:29:29 +02:00
nold
f69925d136 Better readme 2017-10-20 07:24:25 +02:00
nold
f06a55875b Add: Ciphers/Cryptoparams to sshd_config 2017-10-20 07:12:41 +02:00
nold
e9c6b0cd57 Fix: README 2017-10-19 20:00:20 +02:00
nold
10a37878b6 Small README change 2017-10-19 19:59:21 +02:00
nold
1ffef452f0 Add: quick readme 2017-10-19 19:57:52 +02:00
nold
e0b47ab989 Initital Commit 2017-10-19 19:41:41 +02:00