Re: Accessing dynamically multiple VNC servers using SSH

From: Darren Tucker (dtucker_at_dodgy.net.au)
Date: 04/28/04


Date: Wed, 28 Apr 2004 02:50:50 +0000 (UTC)

In article <408e4086$1_2@news.bluewin.ch>,
Sven Hubschmid <shubschmid@student.ethz.ch_delete_me> wrote:
>>
>> Use a "dynamic port forward" (eg OpenSSH's -D) and socksify your VNC
>> client ?
>>
>This could be possible. Do you have a link to read more about the
>dynamic port forward feature of SSH (the man page I red already)?

There's not much more to it than what's in the man page: run ssh -D
[port] then use localhost [port] as a SOCKS server. Here's a complete
(if trivial) example:

$ ssh -D 1080 -v localhost -N -f
$ connect -5 -S 127.0.0.1:1080 localhost 25

The first line will start a ssh session then run in the background, the
second will use ssh as a SOCKS5 server to connect to the mailserver on
the local machine.

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


Relevant Pages

  • Re: ssh gives "Permission denied, please try again"
    ... port 22 on your internal machine, so you will need to keep ssh up to ... I configure the router to forward a different external port to 22 on my ... For good measure pick usernames that are none obvious, ... root/password: 163 times ...
    (uk.comp.os.linux)
  • [NEWS] SSH service at Dell DRAC4 Denial of Service (Mocana)
    ... SSH service at Dell DRAC4 Denial of Service ... Dell Remote Access Card 4 allows customers to effectively manage ... After the use of such a port scanner, ...
    (Securiteam)
  • Re: Remote Desktop directly to another computer on the network
    ... default port... ... And there is no reason for me to believe that ssh ... When I have a multibillion company I will use the key pair, ... WinSCP for that to access my home SSH server. ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: SSH safety
    ... SSH safety (J.L. ... FC3 missing KDE menu items ... I was wondering how safe it is to open the ssh port up to the internet. ...
    (Fedora)
  • Re: Mac `owned in hacking competition
    ... the router's port forwarding rules. ... The firewall or a NAT router only stops connections initiated from ... ssh will let you set up forwarded ports in both ... You start an ssh session from the target machine (this is ...
    (uk.comp.sys.mac)