2022-01-26 18:19:52 +08:00
|
|
|
======================
|
|
|
|
osh-encrypt-rsync.conf
|
|
|
|
======================
|
2021-07-30 20:00:21 +08:00
|
|
|
|
|
|
|
.. note::
|
|
|
|
|
|
|
|
The osh-encrypt-rsync script is called by cron and is responsible for encrypting
|
2022-01-20 23:51:11 +08:00
|
|
|
and optionally pushing the recorded ``ttyrec`` files to a distant server, along
|
|
|
|
with the user logs (``/home/*/*.log``) and user sqlite files (``/home/*/*.sqlite``).
|
|
|
|
The global log and sqlite files are also handled (located in ``/home/logkeeper/``).
|
2022-01-21 20:57:09 +08:00
|
|
|
Note that logs sent through syslog are NOT managed by this script.
|
2021-07-30 20:00:21 +08:00
|
|
|
|
|
|
|
.. warning::
|
|
|
|
|
2022-01-20 23:51:11 +08:00
|
|
|
If left unconfigured, this script won't do anything, and the recorded ``ttyrec`` files,
|
|
|
|
along with the log and sqlite files won't be encrypted or moved out from the server.
|
|
|
|
This might not be a problem for low-traffic bastions or if you have plenty of storage available, though.
|
2021-07-30 20:00:21 +08:00
|
|
|
|
|
|
|
Option List
|
|
|
|
===========
|