diff --git a/.ssh/config b/.ssh/config index 5531e08..511963d 100644 --- a/.ssh/config +++ b/.ssh/config @@ -1,8 +1,10 @@ ForwardAgent yes - -Host 192.168.* -Host 10.* -StrictHostKeyChecking no +ServerAliveInterval 3 +ServerAliveCountMax 2 +ControlMaster auto +ControlPath ~/.ssh/control:%h:%p:%r +Ciphers aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr +AddressFamily inet Host devel Hostname 10.1.100.16 @@ -12,15 +14,10 @@ ForwardX11 yes ExitOnForwardFailure yes Compression yes RequestTty yes -LocalForward 127.0.0.1:1080 127.0.0.1:1080 -LocalForward 127.0.0.1:8000 127.0.0.1:8000 LocalForward 127.0.0.1:8080 127.0.0.1:8080 LocalForward 127.0.0.1:8200 127.0.0.1:8200 LocalForward 127.0.0.1:8250 127.0.0.1:8250 LocalForward 127.0.0.1:8888 127.0.0.1:8888 -LocalForward 127.0.0.1:9090 127.0.0.1:9090 -LocalForward 127.0.0.1:15000 127.0.0.1:15000 -LocalForward 127.0.0.1:9876 127.0.0.1:9876 RemoteForward /run/user/1000/gnupg/S.gpg-agent /run/user/1000/gnupg/S.gpg-agent.extra RemoteForward /run/user/1000/gnupg/S.gpg-agent.ssh /run/user/1000/gnupg/S.gpg-agent.ssh RemoteCommand /usr/bin/env LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 /usr/bin/tmux new-session -A -D -s 0