Last active
January 3, 2016 06:19
-
-
Save goldeneggg/8422107 to your computer and use it in GitHub Desktop.
これぐらいトンネル掘っておけばまあ困らんだろ、的sshconfig
ついでにsocks proxy立ててinternalなページにもアクセス出来るようにしといた
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
Host nemui | |
Hostname setsuzoku.server | |
User jpshadowapps | |
LocalForward 16667 irc.na.server:6667 # ircサーバのsshトンネル | |
LocalForward 13389 win.na.server:3389 # windowsサーバのsshトンネル。RDCで localhost:13389 とかして接続 | |
LocalForward 15900 mac.na.machine:5900 # mac 画面共有のsshトンネル | |
LocalForward 10022 localhost:22 | |
ProxyCommand ssh [email protected] nc -w 1 %h %p # 多段ssh時の経由サーバ | |
DynamicForward localhost:10080 # socks proxy | |
IdentityFile ~/.ssh/nemui_rsa |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment