From b4db1c4887e7f7b61a61941421d474a2c1d29c0f Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Tue, 6 Jun 2023 12:49:24 +0200 Subject: [PATCH] ssh: reorder config to get defaults right --- .ssh/config | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.ssh/config b/.ssh/config index 981024c..341d13d 100644 --- a/.ssh/config +++ b/.ssh/config @@ -1,3 +1,14 @@ +Host 10.1.100.16 +Host dln-dev +Hostname 10.1.100.16 +ForwardAgent yes +ExitOnForwardFailure yes +Compression yes +LocalForward 127.0.0.1:3000 127.0.0.1:3000 +LocalForward 127.0.0.1:3011 127.0.0.1:3011 +LocalForward 127.0.0.1:8000 127.0.0.1:8000 +LocalForward 127.0.0.1:8080 127.0.0.1:8080 + ForwardAgent no ServerAliveInterval 15 ServerAliveCountMax 3 @@ -15,14 +26,3 @@ Include ~/.ssh/private_config Host gitlab.com IdentityAgent /dev/null PKCS11Provider /usr/lib/pkcs11/libtpm2_pkcs11.so - -Host 10.1.100.16 -Host dln-dev -Hostname 10.1.100.16 -ForwardAgent yes -ExitOnForwardFailure yes -Compression yes -LocalForward 127.0.0.1:3000 127.0.0.1:3000 -LocalForward 127.0.0.1:3011 127.0.0.1:3011 -LocalForward 127.0.0.1:8000 127.0.0.1:8000 -LocalForward 127.0.0.1:8080 127.0.0.1:8080