Yves Glodt wrote:
Yves Glodt wrote:
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.

<bump>

Has nobody on the list experience with the conch.forwarding module? I need an example on how to forward a db connection, the documentation
unfortunately doesn't hold one.

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

.



--

Meilleures salutations
Mit freundlichen Grüßen
Mat frendlechen Gréiss
Best regards


Yves Glodt
Analyste-Programmeur
Responsable Linux et Web
Sita Software S.A.
220, avenue de la Liberté
L-4602 Niedercorn
Tel: (+352) 58 00 93-10
Fax: (+352) 58 00 93-89