-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Put ssh config under version control
- Loading branch information
Zack Hsi
committed
Sep 4, 2015
1 parent
2b48be8
commit 460ca0a
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Host gateway.ln | ||
Hostname gateway.lyft.net | ||
ProxyCommand none | ||
GatewayPorts yes | ||
|
||
Host *-prod | ||
Hostname %huction-iad.lyft.net | ||
|
||
# EC2 Instance ID | ||
Host i-* | ||
Hostname %h.lyft.net | ||
|
||
Host *.lyft.me *.lm *.lyft.net *.ln *-prod i-* | ||
ProxyCommand ssh gateway.ln "proxy-ec2 %h" | ||
User zhsi | ||
# For increased security, consider setting ForwardAgent to no | ||
# and use the -A flag to set agent forwarding on a per connection basis | ||
# when access to the local ssh agent is actually needed | ||
# (eg when pushing to github). | ||
ForwardAgent yes | ||
|
||
Host * | ||
KeepAlive yes | ||
ServerAliveInterval 60 | ||
GSSAPIAuthentication no | ||
ForwardAgent no | ||
ForwardX11 no |