diff options
author | Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de> | 2024-08-23 21:07:26 +0200 |
---|---|---|
committer | Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de> | 2024-08-23 21:13:45 +0200 |
commit | f3c44a83c8f0484c1c831171c42d798ec6fd3e83 (patch) | |
tree | 3a9e1f555a8a7e5f86325b1c5b9f9befd74805cf | |
parent | 76fbd492f51298b29ec560818297b90a9ddef80f (diff) | |
download | itzks-systems-f3c44a83c8f0484c1c831171c42d798ec6fd3e83.tar.gz itzks-systems-f3c44a83c8f0484c1c831171c42d798ec6fd3e83.tar.bz2 itzks-systems-f3c44a83c8f0484c1c831171c42d798ec6fd3e83.zip |
dirvish: Add example ssh config, to support ProxyJump via Tjener, for hosts in .intern network; Improve README installation steps.
-rw-r--r-- | debian/itzks-systems-backup.examples | 1 | ||||
-rw-r--r-- | examples/backup/README.dirvish | 23 | ||||
-rw-r--r-- | examples/backup/config.ssh | 5 |
3 files changed, 27 insertions, 2 deletions
diff --git a/debian/itzks-systems-backup.examples b/debian/itzks-systems-backup.examples index 785b949..82744a8 100644 --- a/debian/itzks-systems-backup.examples +++ b/debian/itzks-systems-backup.examples @@ -1,3 +1,4 @@ examples/backup/README.dirvish examples/backup/backup-dirvish.tar.gz examples/backup/master.conf.dirvish +examples/backup/config.ssh diff --git a/examples/backup/README.dirvish b/examples/backup/README.dirvish index 927e7b0..0eec1c9 100644 --- a/examples/backup/README.dirvish +++ b/examples/backup/README.dirvish @@ -3,7 +3,26 @@ Unpack it to the backup systems /srv folder. Installation steps: - 1. Untar these files to backup-XX:/srv/dirvish + 1. Untar these files to backup-XX:/srv/dirvish. - $ tar xvz -C /srv -f backup-dirvish.tar.gz + $ tar xvz -C /srv -f /usr/share/doc/itzks-systems-backup/examples/backup-dirvish.tar.gz + 2. Check if your system already has a master config file. + + $ cp -v /etc/dirvish/master.conf /etc/dirvish/master.conf.orig + + 3. Copy example master.conf file. + $ cp -v /usr/share/doc/itzks-systems-backup/examples/master.conf.dirvish /etc/dirvish/master.conf + + $ editor /etc/dirvish/master.conf + + 4. If the 10.0.0.0/16 Edu-Network is not reachable directly, use ProxyJump via e.g. Tjener. + + $ cp -v /root/.ssh/config /root/.ssh/config.orig + $ cp -v /usr/share/doc/itzks-systems-backup/examples/config.ssh /root/.ssh/config + + $ editor /root/.ssh/config + + 5. Init dirvish images. + + $ dirvish --vault <vault> --init diff --git a/examples/backup/config.ssh b/examples/backup/config.ssh new file mode 100644 index 0000000..529405d --- /dev/null +++ b/examples/backup/config.ssh @@ -0,0 +1,5 @@ +# If 10.0.0.0/16er network is not reachable directly (because of e.g. firewall issues), +# use tjener.mgmt (old tjener.backbone) as ProxyJump server. +Host *.intern + # Make sure you have ssh-copy-id'd your key to root@! + ProxyJump root@tjener.mgmt |