ssh fixings

This commit is contained in:
Daniel Lundin 2021-01-03 12:44:05 +01:00
parent 4f22e6dc0e
commit b2aef36f20

View file

@ -1,8 +1,10 @@
ForwardAgent yes ForwardAgent yes
ServerAliveInterval 3
Host 192.168.* ServerAliveCountMax 2
Host 10.* ControlMaster auto
StrictHostKeyChecking no 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 Host devel
Hostname 10.1.100.16 Hostname 10.1.100.16
@ -12,15 +14,10 @@ ForwardX11 yes
ExitOnForwardFailure yes ExitOnForwardFailure yes
Compression yes Compression yes
RequestTty 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:8080 127.0.0.1:8080
LocalForward 127.0.0.1:8200 127.0.0.1:8200 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:8250 127.0.0.1:8250
LocalForward 127.0.0.1:8888 127.0.0.1:8888 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 /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 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 RemoteCommand /usr/bin/env LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 /usr/bin/tmux new-session -A -D -s 0