20 lines
522 B
Text
20 lines
522 B
Text
|
Server side setup
|
||
|
-----------------
|
||
|
|
||
|
As root:
|
||
|
|
||
|
$ apt-get install incron
|
||
|
$ echo <the user on the server> > /etc/incron.allow
|
||
|
$ cp zone-admin.sshd_config /etc/ssh/sshd_config.d/zone-admin.conf
|
||
|
$ cp zone-admin.sudoers /etc/sudoers.d/zone-admin
|
||
|
|
||
|
As the user:
|
||
|
|
||
|
$ sed 's/$USER/<the user on the server>/g' ./incrontab | incrontab -
|
||
|
# install knot-gpgv-import into ~/
|
||
|
$ mkdir zones/
|
||
|
|
||
|
# Paste your gpg public key + Ctrl-D
|
||
|
$ gpg --no-default-keyring --keyring $HOME/trustedkeys.kbx -a --import
|
||
|
|