LoginSignup
0
1

More than 5 years have passed since last update.

リモートデスクトップ(Windows→Mac)

Last updated at Posted at 2015-07-27

トンネリングの作成

ソフトウェアによる作成

coccinellidaをインストールする.
http://coccinellida.sourceforge.net/
coccinelidaで以下を設定する.
1) Name: トンネリング名
2) Host: ゲートウェイマシンのドメイン名
3) Port: 使用するポート番号,sshなら22
4) User: ユーザ名
5) Password: パスフレーズ
6) Identity: 秘密鍵
Port Forwarding
7) Local Port: 設定する自分のマシンのポート番号,10000以降の適当な番号
8) Remote Host: 操作したいマシン名
9) Remote Port: トンネリングしたいプロトコルのポート番号,windows remote desktopのポートは3389

コマンドによる作成

上記の内容と対応させると以下のようなコマンドになる.
ssh -v -N -L localhost:(7):(8):(9) -o ConnectTimeout=15 -o ServerAliveInterval=30 -o ServerAliveCountMax=3 -i (6) -p 22 (4)@(2)

Macのアプリ,remote desktop connectionでlocalhost:(7)で接続できる.

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1