Yves Glodt wrote:<bump>
Hello,
(I am new to twisted, so please excuse me if my question is not appropriate...)
I am using the python module kinterbasdb [1] 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:
http://twistedmatrix.com/documents/current/api/twisted.conch.ssh.forwarding.html
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.
Regards,
Yves
best regards and thanks in advance,
Yves
[1]: http://kinterbasdb.sourceforge.net/dist_docs/usage.html#tutorial_connect
_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
.
_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
.