2012年11月27日火曜日

ssh の SOCKS プロキシ

$ ssh -D 1080 UserA@SocksSshServer
とすると localhost の 1080 ポートが SOCKS プロキシのポートになります
実際の SOCKS プロキシ経由の接続は SocksSshServer が接続元になります

例えば、SOCKS プロキシ経由で ssh 接続する場合は
$ ssh -o 'ProxyCommand nc -x localhost:1080 %h %p' UserB@TargetServer
とします。

1 件のコメント:

  1. Through unrivalled connection with aiding scholars with numerous divisions with teachers most much of our groundwork newspaper posting product include made it simpler for scholars have scored largest scars along with levels in all of the ones own check-ups delivering these people the best base to get started on your perfect professional not having possibly distressing on the same. https://imgur.com/a/L3VK1HF https://imgur.com/a/OzuYOD0 https://imgur.com/a/1jNDg63 https://imgur.com/a/whNZ5GK https://imgur.com/a/N44Bxkb https://imgur.com/a/BMXQOnF https://imgur.com/a/5ZSwu2D

    返信削除