From 22ddb72c5b8057ccadf5c6ef5104a4caad937777 Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Tue, 6 Dec 2022 15:03:21 +0100
Subject: Update git configs for xxllnc
---
.ssh/config.d/mintlab | 6 ------
.ssh/config.d/mintlab-lab | 19 -------------------
.ssh/config.d/mintlab-prd | 44 --------------------------------------------
.ssh/config.d/xxllnc | 11 +++++++++++
.ssh/config.d/xxllnc-zgw | 44 ++++++++++++++++++++++++++++++++++++++++++++
5 files changed, 55 insertions(+), 69 deletions(-)
delete mode 100644 .ssh/config.d/mintlab
delete mode 100644 .ssh/config.d/mintlab-lab
delete mode 100644 .ssh/config.d/mintlab-prd
create mode 100644 .ssh/config.d/xxllnc
create mode 100644 .ssh/config.d/xxllnc-zgw
diff --git a/.ssh/config.d/mintlab b/.ssh/config.d/mintlab
deleted file mode 100644
index c90ce27..0000000
--- a/.ssh/config.d/mintlab
+++ /dev/null
@@ -1,6 +0,0 @@
-Host *.zsys.nl
- IdentitiesOnly yes
- StrictHostKeyChecking no
- UserKnownHostsFile /dev/null
-
-# vim: set ft=sshconfig :
diff --git a/.ssh/config.d/mintlab-lab b/.ssh/config.d/mintlab-lab
deleted file mode 100644
index 9cca614..0000000
--- a/.ssh/config.d/mintlab-lab
+++ /dev/null
@@ -1,19 +0,0 @@
-Host *.lab.zsys.nl
- IdentityFile ~/.ssh/id.d/%u@%L-ed25519.pub
- IdentitiesOnly yes
- ProxyCommand zs-ec2-ssh -P default -k "$HOME/.ssh/id.d/$USER@$(hostname -s)-ed25519.pub" -p "%p" -u "%r" -- "$(zs-ec2-id -P default %h | head -n 1)"
- StrictHostKeyChecking no
- User mintlab
- UserKnownHostsFile /dev/null
-
-Host *.lab.ec2
- IdentityFile ~/.ssh/id.d/%u@%L-ed25519.pub
- ProxyCommand zs-ec2-ssh -P default -k "$HOME/.ssh/id.d/$USER@$(hostname -s)-ed25519.pub" -p "%p" -u "%r" -- "$(echo %h | awk -F. '{print $1}')"
- StrictHostKeyChecking no
- User mintlab
- UserKnownHostsFile /dev/null
-
-Host bastion.lab.zsys.nl
- Hostname bastion-host-zaaksysteem-lab
-
-# vim: set ft=sshconfig :
diff --git a/.ssh/config.d/mintlab-prd b/.ssh/config.d/mintlab-prd
deleted file mode 100644
index 25159aa..0000000
--- a/.ssh/config.d/mintlab-prd
+++ /dev/null
@@ -1,44 +0,0 @@
-Host bastion.prd.zsys.nl
- Hostname bastion-host-zaaksysteem-prd
-
-Host pgbouncer-rw-0-com.prd.zsys.nl
- Hostname pgbouncer-rw-0-com
-
-Host revproxy-mlb-0.prd.zsys.nl
- Hostname revproxy-mlb-0
-
-Host revproxy-mlb-1.prd.zsys.nl
- Hostname revproxy-mlb-1
-
-Host revproxy-gov-0.prd.zsys.nl
- Hostname revproxy-gov-0
-
-Host revproxy-gov-1.prd.zsys.nl
- Hostname revproxy-gov-1
-
-Host revproxy-gov-2.prd.zsys.nl
- Hostname revproxy-gov-2
-
-Host vpn.mintlab.nl
- User mintlab
-
-Host wiki.zaaksysteem.nl
- ProxyJump caeghi
- User mintlab
- Hostname www01.mintlab.nl
-
-Host i-*.prd.zsys.nl
- IdentityFile ~/.ssh/id.d/%u@%L-ed25519.pub
- ProxyCommand zs-ec2-ssh -P zs-prd -k "$HOME/.ssh/id.d/$USER@$(hostname -s)-ed25519.pub" -p "%p" -u "%r" -- "$(printf "%%s" "%h" | awk -F. '{ print $1 }')"
- StrictHostKeyChecking no
- User mintlab
- UserKnownHostsFile /dev/null
-
-Host *.prd.zsys.nl
- IdentityFile ~/.ssh/id.d/%u@%L-ed25519.pub
- ProxyCommand zs-ec2-ssh -P zs-prd -k "$HOME/.ssh/id.d/$USER@$(hostname -s)-ed25519.pub" -p "%p" -u "%r" -- "$(zs-ec2-id -P zs-prd %h)"
- StrictHostKeyChecking no
- User mintlab
- UserKnownHostsFile /dev/null
-
-# vim: set ft=sshconfig :
diff --git a/.ssh/config.d/xxllnc b/.ssh/config.d/xxllnc
new file mode 100644
index 0000000..12739e9
--- /dev/null
+++ b/.ssh/config.d/xxllnc
@@ -0,0 +1,11 @@
+Host *.zsys.nl
+ IdentitiesOnly yes
+ StrictHostKeyChecking no
+ UserKnownHostsFile /dev/null
+
+Host git.xxllnc.nl
+ Hostname gitlab.com
+ User git
+ IdentityFile ~/.ssh/id.d/xxllnc@%L-ed25519
+
+# vim: set ft=sshconfig :
diff --git a/.ssh/config.d/xxllnc-zgw b/.ssh/config.d/xxllnc-zgw
new file mode 100644
index 0000000..25159aa
--- /dev/null
+++ b/.ssh/config.d/xxllnc-zgw
@@ -0,0 +1,44 @@
+Host bastion.prd.zsys.nl
+ Hostname bastion-host-zaaksysteem-prd
+
+Host pgbouncer-rw-0-com.prd.zsys.nl
+ Hostname pgbouncer-rw-0-com
+
+Host revproxy-mlb-0.prd.zsys.nl
+ Hostname revproxy-mlb-0
+
+Host revproxy-mlb-1.prd.zsys.nl
+ Hostname revproxy-mlb-1
+
+Host revproxy-gov-0.prd.zsys.nl
+ Hostname revproxy-gov-0
+
+Host revproxy-gov-1.prd.zsys.nl
+ Hostname revproxy-gov-1
+
+Host revproxy-gov-2.prd.zsys.nl
+ Hostname revproxy-gov-2
+
+Host vpn.mintlab.nl
+ User mintlab
+
+Host wiki.zaaksysteem.nl
+ ProxyJump caeghi
+ User mintlab
+ Hostname www01.mintlab.nl
+
+Host i-*.prd.zsys.nl
+ IdentityFile ~/.ssh/id.d/%u@%L-ed25519.pub
+ ProxyCommand zs-ec2-ssh -P zs-prd -k "$HOME/.ssh/id.d/$USER@$(hostname -s)-ed25519.pub" -p "%p" -u "%r" -- "$(printf "%%s" "%h" | awk -F. '{ print $1 }')"
+ StrictHostKeyChecking no
+ User mintlab
+ UserKnownHostsFile /dev/null
+
+Host *.prd.zsys.nl
+ IdentityFile ~/.ssh/id.d/%u@%L-ed25519.pub
+ ProxyCommand zs-ec2-ssh -P zs-prd -k "$HOME/.ssh/id.d/$USER@$(hostname -s)-ed25519.pub" -p "%p" -u "%r" -- "$(zs-ec2-id -P zs-prd %h)"
+ StrictHostKeyChecking no
+ User mintlab
+ UserKnownHostsFile /dev/null
+
+# vim: set ft=sshconfig :
--
cgit v1.1