dotfiles/.ssh/config
2021-07-12 09:02:46 +02:00

25 lines
871 B
Text

ForwardAgent yes
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
Host dln-dev
Hostname 10.1.100.16
IdentityAgent /run/user/1000/gnupg/S.gpg-agent.ssh
ForwardAgent yes
ForwardX11 yes
ExitOnForwardFailure yes
Compression yes
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
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