dotfiles/.ssh/config

31 lines
865 B
Text

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
PreferredAuthentications=publickey
Include ~/.ssh/private_config
Host 10.1.100.16
Host dln-dev
Host dev
Hostname 10.1.100.16
#Hostname aarn.shelman.io
#Port 2022
ForwardAgent yes
ExitOnForwardFailure yes
Compression no
LocalForward localhost:3000 localhost:3000
LocalForward localhost:8000 localhost:8000
LocalForward localhost:8080 localhost:8080
LocalForward localhost:9090 localhost:9090
LocalForward localhost:10000 localhost:10000
RemoteForward ${XDG_RUNTIME_DIR}/opener.sock ${XDG_RUNTIME_DIR}/opener.dln-dev.sock
RemoteForward localhost:9022 localhost:9022
Host *
ForwardAgent no