From 24ce6c0e463bbd3a17a1b9f5424849820afcfb2d Mon Sep 17 00:00:00 2001 From: Quentin Godefroid Date: Tue, 17 Jul 2018 15:51:11 +0200 Subject: [PATCH] Order ssh config file --- config/ssh/config | 164 +++++++++++++--------------------------------- 1 file changed, 47 insertions(+), 117 deletions(-) diff --git a/config/ssh/config b/config/ssh/config index cdfba09..8baac6a 100644 --- a/config/ssh/config +++ b/config/ssh/config @@ -1,47 +1,3 @@ -Host davros - User hactar - Hostname davros.ovh - Port 16843 - IdentityFile ~/.ssh/davros - -Host namek.fr - User hactarus - Port 2799 - IdentityFile ~/.ssh/thomas_b_series - -Host avimbo - Hostname sshcloud.cluster024.hosting.ovh.net - Port 41045 - User avimboo - IdentityFile ~/.ssh/hosting - -Host ansible - Hostname node87222.ood.ovh - Port 16843 - User arch - -Host node* - User root - Port 16843 - IdentityFile ~/.ssh/ed25519 - -Host 213.186.33.88 - Hostname 213.186.33.88 - User qgodefro - Port 22 - IdentityFile /home/qgodefro/.ssh/ovh_sdev - -Host z3.ovh.net - Hostname z3.ovh.net - User qgodefro - Port 22 - IdentityFile /home/qgodefro/.ssh/cache_z3 - -Host z3b.ovh.net - Hostname z3b.ovh.net - User qgodefro - Port 22 - IdentityFile /home/qgodefro/.ssh/cache_z3 #Host *.reseller.mis.ovh.net # ProxyCommand ssh -F ~/.ssh/config z3 -t -- root@%h -p %p @@ -51,10 +7,24 @@ Host z3b.ovh.net # ControlPath ~/.ssh/mux-%r@%h:%p # ControlPersist 15m -Host node122140 - Port 16843 - Hostname 91.121.122.140 - IdentityFile /home/qgodefro/.ssh/desk +# Work + +Host *.ovh.net + User qgodefro + Port 22 + IdentityFile ~/work_201806 + +Host 213.186.33.88 + Hostname 213.186.33.88 + User qgodefro + Port 22 + IdentityFile /home/qgodefro/.ssh/ovh_sdev + +Host avimbo + Hostname sshcloud.cluster024.hosting.ovh.net + Port 41045 + User avimboo + IdentityFile ~/.ssh/hosting Host stash.ovh.net User git @@ -62,50 +32,48 @@ Host stash.ovh.net Port 7999 IdentityFile /home/qgodefro/.ssh/desk -Host git.edmund.ovh - User git - Hostname git.edmund.ovh - Port 22 - IdentityFile /home/qgodefro/.ssh/desk - Host qgodefro1 User debian Hostname qgodefro1.rungs.ovh Port 22 IdentityFile /home/qgodefro/.ssh/desk -Host node122140 - User root - Hostname 91.121.122.140 - Port 26843 - IdentityFile /home/qgodefro/.ssh/desk - -Host run-gra3 - User debian - Hostname 145.239.157.139 - IdentityFile /home/qgodefro/.ssh/ovh_sdev - -Host run-gra1 - User debian - Hostname 213.32.76.187 - IdentityFile /home/qgodefro/.ssh/ovh_sdev - Host meltingpot User gs Hostname mozg-meltingpot.ovh.ha.ovh.net +# VM + Host davros User hactar Hostname davros.ovh Port 16843 - IdentityFile /home/qgodefro/.ssh/desk + IdentityFile ~/.ssh/davros -Host node87222 - User arch +Host ansible Hostname node87222.ood.ovh Port 16843 + User arch + +Host git.edmund.ovh + User git + Hostname git.edmund.ovh + Port 22 IdentityFile /home/qgodefro/.ssh/desk +# Friends + +Host namek.fr + User hactarus + Port 2799 + IdentityFile ~/.ssh/thomas_b_series + +Host beta + User root + Port 22 + Hostname beta.namek.fr + IdentityFile ~/.ssh/auberge + Host mrboogie User quentin Hostname docki.bobobby.com @@ -118,56 +86,18 @@ Host moker IdentityFile ~/.ssh/auberge Hostname moker.fr -Host beta - User root - Port 22 - Hostname beta.namek.fr - IdentityFile ~/.ssh/auberge - Host dev.bobobby.com User git Hostname dev.bobobby.com IdentityFile ~/.ssh/auberge -Host *.techwars.ovh - User debian - IdentityFile ~/.ssh/auberge - -Host davros - User hactar - Hostname davros.ovh - Port 16843 - IdentityFile /root/.ssh/id_rsa - -Host beta.namek.fr - User root - Port 22 - IdentityFile /root/.ssh/auberge - -Host node1271 - User pi - Port 7139 - Hostname node1271.ood.ovh - IdentityFile /root/.ssh/id_rsa - -Host gpu - Hostname ns3055139.ip-213-32-26.eu - Port 22 - IdentityFile /root/.ssh/gpu - -Host avimbo - Hostname sshcloud.cluster024.hosting.ovh.net - Port 41045 - User avimboo - IdentityFile /root/.ssh/id_rsa - -Host ansible - Hostname node87222.ood.ovh - IdentityFile /root/.ssh/auberge - Port 16843 - User arch +# Cluster Host node* User root Port 16843 - IdentityFile /root/.ssh/auberge + IdentityFile ~/.ssh/ed25519 + +Host *.techwars.ovh + User debian + IdentityFile ~/.ssh/auberge