From eaddde259dc89d0c970f08e75f5340910e7da7f5 Mon Sep 17 00:00:00 2001 From: Hyacinthe Cartiaux Date: Fri, 18 Oct 2024 01:26:46 +0200 Subject: [PATCH] [ssh] Custom configuration for my lab --- ssh/config.home | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/ssh/config.home b/ssh/config.home index da0a6bf..97da19a 100644 --- a/ssh/config.home +++ b/ssh/config.home @@ -1,9 +1,16 @@ -######## -## Nas -######## - Host disco User admin - Port 143 Hostname 192.168.1.40 + Port 143 +Host srv.nbsdn ns1.nbsdn + Hostname ns1.nbsdn.fr.eu.org + ProxyCommand none +Host boxybsd1.nbsdn ns2.nbsdn + Hostname ns2.nbsdn.fr.eu.org + ProxyCommand none + +Host *.nbsdn + User hcartiaux + Port 222 + ProxyCommand ssh srv.nbsdn -W `basename %h .nbsdn`.nbsdn.fr.eu.org:%p