Created
September 4, 2012 01:27
-
-
Save wokamoto/3615588 to your computer and use it in GitHub Desktop.
SSH 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
Host ssh_proxy | |
HostName ssh_proxy.example.net | |
Port 22 | |
User hoge | |
IdentityFile ~/.ssh/id_rsa | |
Host target | |
HostName target.example.net | |
Port 22 | |
User fuga | |
IdentityFile ~/.ssh/id_rsa.fuga | |
ProxyCommand ssh ssh_proxy nc %h %p | |
Host * | |
ServerAliveInterval 60 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment