User Tools

Site Tools


vps:vnc_over_ssh

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

vps:vnc_over_ssh [2011/10/10 12:47]
hoge@hoge
vps:vnc_over_ssh [2019/06/16 15:16]
Line 1: Line 1:
-====== VPSを中継した VNC over SSH ====== 
-===== 目的 ===== 
- 
-===== 操作される側の設定 ===== 
-==== VNCサーバ設定 ==== 
-VNCサーバとして、TightVNCを使用する。 
-  * サービスとして登録する。 
-  * [TightVNC Server Configuration] -> [Access Control] -> [Loopback Connections]にて[Allow loopback connections]を有効にする。 
- 
-==== SSHクライアント設定 ==== 
-TeraTermのttlを作成する。 
-<file ttl sshvnc.ttl>​ 
-connect '<​接続先>:<​ポート番号>​ /ssh /i /​auth=publickey /​user=<​ユーザ名>​ /​passwd=<​パスワード>​ /​keyfile=<​鍵をフルパスで指定>​ /​ssh-R<​VPS側のポート番号>:​localhost:​5900'​ 
- 
-while 1 
- yesnobox '​切断しますか?'​ '​接続中...'​ 
- if result then 
- break 
- else 
- messagebox '​接続を継続します'​ '​確認'​ 
- endif 
-endwhile 
- 
-sendln 
-sendln 
-sendln '​exit'​ 
-closett 
-</​file>​ 
-  * ssh-Rの内訳 
-    * <​VPS側のポート番号>​\\ VPS側でVNC接続を待つポート番号を指定する。 
-    * localhost:​5900\\ 操作される側のvncserverのポート番号を指定する。 
-  * ttlファイルをTTPMACRO.exeと関連付けする事。 
- 
  
vps/vnc_over_ssh.txt · Last modified: 2019/06/16 15:16 (external edit)