diff --git a/.ssh/config b/.ssh/config index 341d13d..342b554 100644 --- a/.ssh/config +++ b/.ssh/config @@ -1,3 +1,16 @@ +ServerAliveInterval 15 +ServerAliveCountMax 3 +ControlMaster auto +ControlPath ${XDG_RUNTIME_DIR}/ssh_control:%h:%p:%r +ControlPersist 1200 +Ciphers aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr +AddressFamily inet +RequestTty yes +PreferredAuthentications=publickey +SendEnv LC_* LANG + +Include ~/.ssh/private_config + Host 10.1.100.16 Host dln-dev Hostname 10.1.100.16 @@ -9,20 +22,9 @@ 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 -ControlMaster auto -ControlPath ~/.ssh/control:%h:%p:%r -ControlPersist 1200 -Ciphers aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr -AddressFamily inet -RequestTty yes -PreferredAuthentications=publickey -SendEnv LC_* LANG - -Include ~/.ssh/private_config - Host gitlab.com IdentityAgent /dev/null PKCS11Provider /usr/lib/pkcs11/libtpm2_pkcs11.so + +Host * +ForwardAgent no