From 6c992b1af85336afc2826d2df88986f9637017c9 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Thu, 19 Dec 2019 11:09:28 +0200
Subject: [PATCH] Clean the Endless SSH config.

Use the openvpn endpoint as a jump host, it eases the firewall
restrictions. Clean up duplications.
---
 .ssh/config.d/20_endless | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/.ssh/config.d/20_endless b/.ssh/config.d/20_endless
index d111ccc..7c26027 100644
--- a/.ssh/config.d/20_endless
+++ b/.ssh/config.d/20_endless
@@ -3,7 +3,6 @@
 
 Host appupdates.endlessm.com irc.endlessm.com status.endlessm.com
 Port 2200
-ProxyCommand ssh vpn-router.uw2.endlessm.com -W %h:%p
 
 Host vpn-router.sf.endlessm.com
 Port 2022
@@ -13,22 +12,17 @@ KexAlgorithms diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
 MACs hmac-sha1
 User sysmgr
 
-Host ap?.endlessm-sf.com
+Host ap?.endlessm-sf.com router.endlessm-sf.com
 Ciphers aes256-cbc
 User endlessapadmin
 
-Host router.endlessm-sf.com
-ProxyCommand ssh vpn-router.sf.endlessm.com -W %h:%p
-Ciphers aes256-cbc
-User endlessadmin
-
 Host 10.17.*.* *.dev.endlessm.com *.dev.endlessm-sf.com
 ProxyCommand ssh vpn-router.uw1.endlessm.com -W %h:%p
 
 Host 172.31.*.* 10.*.*.* *.endlessm-sf.com
 UserKnownHostsFile /dev/null
 StrictHostKeyChecking no
-ProxyCommand ssh vpn-router.uw2.endlessm.com -W %h:%p
+ProxyCommand ssh openvpn.endlessm.com -W %h:%p
 
 Host 172.31.*.* 10.*.*.* *.endlessm.com *.endlessm-sf.com endlessm.com
 User nimrod
-- 
GitLab