![]() If(ssh2_auth_password($connection, "user", "password")) I have the ssh2 extension installed and have tried like this: $connection = ssh2_connect("192.168.0.100", 22) I need a way to do this programmatically. Using novnc presents the remote desktop as a web. Still on my PC, aim a VNC client at the local end of the tunnel: novnc localhost:5900. (The network port number is always the display number plus 5900. If you were assigned display 2, then your port would be 5902. Your administrator should have informed you of the VNC network port to use for your tunnel. If I setup the tunnel through putty on my PC and then use the TightVNC java applet loaded via the website I can connect to the consoles. From my local PC, I can now SSH into the remote PC as kay and start x11vnc through the SSH tunnel: ssh -v kayremote.address -L 5900:localhost:5900 'x11vnc -display :0 -noxdamage -ncache 10 -ncachecr -nopw'. Set up your SSH Tunnel Once you have the TigerVNC Viewer installed, you can set up your SSH tunnel. I am now trying to find a way to do this through a webpage. > I have the same result when using the vnc from orl and the tight encoder > version with the -tunnel switch. ![]() ![]() Then I can connect using a VNC client using localhost:5902. got a 'vncviewer: vncserver closed connection' message on the client > window. I can connect to the consoles by using Putty to open an SSH tunnel and then forwarding a port (5902 for example). ![]() The VNC consoles only accept connections from localhost, each console uses a different port (5902,5903,5904,etc.).įollowing the instructions outlined in this post I am trying to connect to my XenServer VM consoles from a PHP/HTML webpage. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |