[Twisted-Python] database connection through ssh tunnel using twisted
yves at sita.lu
Wed Aug 31 09:45:23 EDT 2005
Yves Glodt wrote:
> (I am new to twisted, so please excuse me if my question is not
> I am using the python module kinterbasdb  for connecting to a
> Firebird DB, and I wonder if it's possible, using twisted, to pass this
> connection through a ssh tunnel, which should be created on the fly by
> twisted (without running a /usr/bin/ssh commandline)...
Sorry for selfreplying, but I guess I need the conch.ssh.forwarding module:
The doc is a little spartanic, does anybody have an example around...?
I need a forwarding from box_a:3051 <-ssh-over-internet-> box_b:3050
box_a is my local box where my python daemon is running. This daemon
connects from time to time to box_b over the internet.
> best regards and thanks in advance,
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
More information about the Twisted-Python