Created
December 12, 2012 01:13
-
-
Save cou929/4263989 to your computer and use it in GitHub Desktop.
踏み台サーバを nc で proxy する際の ssh config テンプレ
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
# local -> proxy_host -> web??, db??, etc... を想定 | |
# proxy_user, proxy_user_id_rsa はそれぞれ踏み台サーバのユーザーと鍵 | |
Host web?? db?? | |
ProxyCommand ssh proxy_host nc -w 3600 %h %p | |
User proxy_user | |
IdentityFile ~/.ssh/proxy_user_id_rsa |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment