From 85bef74346bc0e4e7caa63099c91b2e5d618b2f0 Mon Sep 17 00:00:00 2001 From: Andrew DeFaria Date: Mon, 14 Feb 2022 19:55:46 +0000 Subject: [PATCH] Updated ~/.ssh/config --- rc/sshconfig | 37 ++++++++++++++++++------------------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/rc/sshconfig b/rc/sshconfig index ea4e2f9..4d986a5 100644 --- a/rc/sshconfig +++ b/rc/sshconfig @@ -1,28 +1,13 @@ StrictHostKeyChecking no LogLevel ERROR -Host 10.2.* sandbox* - ForwardAgent yes - StrictHostKeyChecking no - UserKnownHostsFile /dev/null - AddKeysToAgent yes - IdentitiesOnly yes - ForwardX11 yes - ForwardX11Trusted yes - User root - -Host 192.168.0.* mars earth defaria.com home - ForwardX11 yes - ForwardX11Trusted yes - -Host jupiter cpanel github.com +Host jupiter cpanel github.com sandbox sandboxal ForwardX11 no ForwardX11Trusted no Host jupiter Port 2222 -# Macbook Host cpanel User andrewdefaria @@ -34,6 +19,14 @@ Host home Host nightly Hostname 10.2.96.137 +Host sandbox + Hostname 10.2.99.60 + IdentityFile ~/.ssh/cpanelkey + +Host sandboxu + Hostname 10.2.98.185 + IdentityFile ~/.ssh/cpanelkey + Host sandboxal Hostname 10.2.99.106 IdentityFile ~/.ssh/cpanelkey @@ -41,9 +34,15 @@ Host sandboxal Host enterprise.cpanel.net IdentityFile ~/.ssh/cpanelkey -Host sandbox - Hostname 10.2.99.60 - IdentityFile ~/.ssh/cpanelkey +Host 10.2.* sandbox* + ForwardAgent yes + StrictHostKeyChecking no + UserKnownHostsFile /dev/null + AddKeysToAgent yes + IdentitiesOnly yes + ForwardX11 no + ForwardX11Trusted no + User root Host * ServerAliveInterval 300 -- 2.17.1