DRYな備忘録

Don't Repeat Yourself.

2015-07-09から1日間の記事一覧

sshトンネリング(ポートフォワード)とか多段ポートフォワード

ssh

localhostの9999番ポートを、リモートホストmyremotehost.comの7777番に、myproxyを使ってポートフォワードしたい。 ssh -L 9999:myremotehost.com:7777 myproxy で、myremotehost.com:7777で動いてる何かし(アプリケーションや、MySQLなどのデーモン)へア…