Re: adding tunnels to existing connection
From: Jacob Nevins (jacobn_at_chiark.greenend.org.uk)
Date: 07/30/04
- Next message: Eugene Mayevski: "Re: How much work for implementing sftp?"
- Previous message: Walter Schiessberg: "Re: Q=2C_=E4_and_=F6_won=27t_show_i?= n putty"
- In reply to: Tobias Wagner: "adding tunnels to existing connection"
- Next in thread: Tobias Wagner: "Re: adding tunnels to existing connection"
- Reply: Tobias Wagner: "Re: adding tunnels to existing connection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 30 Jul 2004 11:53:42 +0100 (BST)
Tobias Wagner <none@rz.uni-karlsruhe.de> writes:
>Is there a way to open the tunnels only on demand and share one ssh
>process? So before opening a new tunnel, it is checked if a connection
>to the target already exists, and if so, the tunnel is added to the
>existing connection.
If you can persuade the clients apps to use SOCKS, then OpenSSH's -D
option may do what you want:
-D port
Specifies a local ``dynamic'' application-level port forwarding.
This works by allocating a socket to listen to port on the local
side, and whenever a connection is made to this port, the connec-
tion is forwarded over the secure channel, and the application
protocol is then used to determine where to connect to from the
remote machine. Currently the SOCKS4 protocol is supported, and
ssh will act as a SOCKS4 server. Only root can forward privi-
leged ports. Dynamic port forwardings can also be specified in
the configuration file.
- Next message: Eugene Mayevski: "Re: How much work for implementing sftp?"
- Previous message: Walter Schiessberg: "Re: Q=2C_=E4_and_=F6_won=27t_show_i?= n putty"
- In reply to: Tobias Wagner: "adding tunnels to existing connection"
- Next in thread: Tobias Wagner: "Re: adding tunnels to existing connection"
- Reply: Tobias Wagner: "Re: adding tunnels to existing connection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|