SSH config

This commit is contained in:
Christian Nieves
2023-08-08 10:13:14 -05:00
parent 516f2bc424
commit 3d73b4fed7

25
ssh/.ssh/config Normal file
View File

@ -0,0 +1,25 @@
Host workstation
Hostname cnieves.aus.corp.google.com
User cnieves
LocalForward 5005 localhost:5005 # Java Debug
RemoteForward 5037 localhost:5037 # ADB
RemoteForward 2222 localhost:22 # SSH
Compression no
ControlMaster auto
ControlPath /tmp/ssh_control-%r-%h-%p
ControlPersist 5m
Host vilya
Hostname vilya.c.googlers.com
User cnieves
LocalForward 5005 localhost:5005 # Java Debug
RemoteForward 5037 localhost:5037 # ADB
RemoteForward 2222 localhost:22 # SSH
Compression yes
ControlMaster auto
ControlPath /tmp/ssh_control-%r-%h-%p
ControlPersist 5m
Host gateway-workaround
Hostname cnieves.aus.corp.google.com
ProxyCommand /usr/local/bin/corp-ssh-helper -relay=sup-ssh-relay.corp.google.com -enable_measurements -report_measurement_results -proxy-mode=grue -dst_username=%r %h %p