ssh over VNC
sshãã¼ããã©ã¯ã¼ãã£ã³ã°ãå©ç¨ãã¦ãVNCæ¥ç¶ãè¡ãã
ã¨ããããsshæ¥ç¶ã
ä¾ãã°ãã¼ã«ã«ãã¼ã1234ã§ãªã¢ã¼ããã¹ãexample.comãã¦ã¼ã¶åexamã ã¨ä»¥ä¸ã®ããã«ãªãã
ssh -L [LocalhostPort]:[Remorthost]:[RemothostPort] [Remothost] -l [RemothostUser]
ããXVNCViewerã§æ¥ç¶ãããã¨ããã¨ã以ä¸ã®ãããªã¨ã©ã¼ãçºçããã
$ ssh -L 1234:example.com:5901 example.com -l exam
ã¤ã¾ã¿ããªããã°é¼»ã§ãã¤ã¾ã | Apple Remote Desktop on SSHãã
channel 3: open failed: connect failed: Connection refused
ã©ãããIPv6ããã§ãã¯ãã¦å¤±æãã¦ããããããããã§æ¸å¼ãå¤ãã¦ã¿ãã
ã¤ã¾ã
$ ssh -L [LocalPort]:[Localhost]:[RemotePort] [UserName]@[Remotehost]
ãã¹ã¯ã¼ããå ¥åãã¦ãã°ã¤ã³ãããããã®ã»ãã·ã§ã³ã¯æ¾ç½®ã
$ ssh -L 1234:127.0.0.1:5901 exam@example.com
ä»ã®ã¿ã¼ããã«ã§
ã::ãã¨2ã¤é£ç¶ãã¦ãããã¨ã«æ³¨æã
xvnc4viewer localhost::1234
ä¸æãããã°ãVNCServerã®ãã¹ã¯ã¼ãå ¥åç»é¢ã表示ãããå ¥åãæ¸ãã°æ¥ç¶ã§ããã
ï¼å½ç¶ãªã¢ã¼ãå´ã§Serverãèµ·åãã¦ããªããã°ç¡çï¼
SSHã®æ¥ç¶æ¸å¼ãå¤ãããä¸æãè¡ã£ãã
ã©ãããPuttyã®ãã³ããªã³ã°ã®ãã¹ãæå®ãã¾ããã£ãæ§ã ã
å¾ã§è¨äºã«ã¾ã¨ãããã