I've been facing an issue that prevents me from remotely accessing one of my servers.
What I'm trying to do...
- SSH tunnel between a desktop and a Test Server (OK)
- SSH Port Forwarding using PuTTY (OK)
- RDP embedded in the SSH tunnel (towards the Test Server) => NOK
I'm 100% certain that the SSH tunnel is properly established between the remote desktop and the Test Server, and I can also RDP to the Test Server (without using copSSH at all).
=> What I'd like to do is RDP through the SSH tunnel (for obvious security reasons). When I try to do that, I get the following error in the copSSH server logs:
2011.05.21 06:33:48 - debug3: channel 1: status: The following connections are open:\r\n #0 server-session (t4 r256 i0/0 o0/0 fd 8/6 cc -1)\r\n 2011.05.21 06:33:48 - debug1: channel 1: free: direct-tcpip, nchannels 2 2011.05.21 06:33:48 - debug2: channel 1: garbage collecting 2011.05.21 06:33:48 - debug2: channel 1: zombie 2011.05.21 06:33:48 - error: connect_to XXX.XXX.XXX.XXX port 3389: failed. 2011.05.21 06:33:48 - debug1: channel 1: connection failed: Operation not permitted 2011.05.21 06:33:27 - debug3: channel 1: waiting for connection 2011.05.21 06:33:27 - debug1: server_input_channel_open: confirm direct-tcpip 2011.05.21 06:33:27 - debug1: channel 1: new [direct-tcpip] 2011.05.21 06:33:27 - debug3: fd 7 is O_NONBLOCK 2011.05.21 06:33:27 - debug3: fd 7 is O_NONBLOCK 2011.05.21 06:33:27 - debug1: getsockopt TCP_NODELAY: Invalid argument 2011.05.21 06:33:27 - debug1: connect_next: host XXX.XXX.XXX.XXX ([XXX.XXX.XXX.XXX]:3389) in progress, fd=7 2011.05.21 06:33:27 - debug2: fd 7 setting O_NONBLOCK 2011.05.21 06:33:27 - debug1: server_request_direct_tcpip: originator 0.0.0.0 port 0, target XXX.XXX.XXX.XXX port 3389
Could someone help me please ? I really don't want to use unsecure Windows RDP to get remote access to this Test Server !!! :-S
Thanks a lot in advance...