Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: double forwarding |
|---|---|
| Date: | Fri, 26 Oct 2007 16:50:32 -0700 |
Khill, if WorkA has to reboot, you will always lose your connection to WorkB. But, if you have the VNC server running on WorkB, when WorkA disconnects you, the server and anything you had running will continue to run. So, why don't you start the VNC server on WorkB and connect to workA with the connect string of: ssh -L <any available port>:<ip of WorkB>:5901 <ip of workA> this will start a listener on <any available port> of your home PC and forward (unencrypted) to <ip of WorkB>:5901 then you VNC to localhost:<any available port> and hooza whiz bang you're VNCed to screen 01. Modify your SSH connect string to match whatever screen you need. If you need encryption between WorkB and WorkA you can use a backwards tunnel between WorkB and WorkA. There is some more futzing you will have to do with your connect strings if you need the backwards tunnel. Scott
Khill <hill.kevin@gmail.com> 10/26/2007 9:39 AM >>>
Ok, so my situation is as follows. 3 computers Home - windows machine WorkA - CentOS machine, with open SSH port to the world, and all ports open to an internal network WorkB - CentOS machine, with no open ports to the world, and all ports open to an internal network What I'd like to do is to get access to a VNC server running on WorkB from Home What I have been doing as a bit of a workaround is to SSH into WorkA from Home using PUTTY with :5901 forwarded, then started a VNC server on WorkA, logged into that from Home, and ssh'd into WorkB from that VNC session with X11 forwarding. This is kind of like having access to a VNC server running on WorkB, but there are some caveats, such as if my co-worker, who does most of her work on WorkA, has to reboot, all of my processes on running on WorkB terminate. I feel like I should be able to log into WorkA using PUTTY forwarding say, :5906, then from that command line, do something like "ssh -L 5906:localhost:5906 WorkB" but that doesn't seem to work for me. What am I missing? -- View this message in context: http://www.nabble.com/double-forwarding-tf4698452.html#a13430991 Sent from the SSH (Secure Shell) mailing list archive at Nabble.com.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: SSH and pyseudo tty, william estrada |
|---|---|
| Next by Date: | Re: double forwarding, Joseph Spenner |
| Previous by Thread: | double forwarding, Khill |
| Next by Thread: | Re: double forwarding, Joseph Spenner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |