Created
November 17, 2016 03:27
-
-
Save shkumagai/173e732fe0c64bc6785aed17ddb987f1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
ServerAliveInterval 60 | |
IdentitiesOnly yes | |
IdentityFile ~/.ssh/id_rsa | |
IdentityFile ~/.ssh/id_ecdsa | |
ForwardAgent yes | |
# | |
# General Proxy Setting (http://bit.ly/1MD3d24) | |
# | |
Host */* | |
ProxyCommand ssh -W "$(basename "%h")":%p "$(dirname "%h")" | |
Host *+* | |
ProxyCommand ssh -W "$(sed -E 's/.*\+//'<<<"%h")":%p "$(sed -E 's/\+[^\+]*//'<<<"%h")" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment