<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Yves Glodt wrote:
<blockquote cite="mid4315B473.9020104@sita.lu" type="cite">Yves Glodt
wrote:
<br>
<blockquote type="cite">Hello,
<br>
<br>
<br>
(I am new to twisted, so please excuse me if my question is not
appropriate...)
<br>
<br>
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)...
<br>
</blockquote>
<br>
Sorry for selfreplying, but I guess I need the conch.ssh.forwarding
module:
<br>
<a class="moz-txt-link-freetext" href="http://twistedmatrix.com/documents/current/api/twisted.conch.ssh.forwarding.html">http://twistedmatrix.com/documents/current/api/twisted.conch.ssh.forwarding.html</a>
<br>
<br>
The doc is a little spartanic, does anybody have an example around...?
<br>
<br>
I need a forwarding from box_a:3051 <-ssh-over-internet->
box_b:3050
<br>
<br>
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.
<br>
<br>
</blockquote>
<bump><br>
<br>
Has nobody on the list experience with the conch.forwarding module? I
need an example on how to forward a db connection, the documentation<br>
unfortunately doesn't hold one.<br>
<br>
<blockquote cite="mid4315B473.9020104@sita.lu" type="cite">Regards,
<br>
Yves
<br>
<br>
<br>
<blockquote type="cite">best regards and thanks in advance,
<br>
Yves
<br>
<br>
<br>
<br>
[1]:
<a class="moz-txt-link-freetext" href="http://kinterbasdb.sourceforge.net/dist_docs/usage.html#tutorial_connect">http://kinterbasdb.sourceforge.net/dist_docs/usage.html#tutorial_connect</a>
<br>
<br>
_______________________________________________
<br>
Twisted-Python mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a>
<br>
<a class="moz-txt-link-freetext" href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a>
<br>
<br>
.
<br>
<br>
</blockquote>
<br>
_______________________________________________
<br>
Twisted-Python mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a>
<br>
<a class="moz-txt-link-freetext" href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a>
<br>
<br>
.
<br>
<br>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<p
style="font-family: verdana; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: normal; font-size-adjust: none; font-stretch: normal;">Meilleures
salutations<br>
Mit freundlichen Grüßen<br>
Mat frendlechen Gréiss<br>
Best regards
</p>
<table
style="font-family: verdana; font-style: normal; font-variant: normal; font-weight: normal; font-size: 9px; line-height: normal; font-size-adjust: none; font-stretch: normal;"
nowrap="">
<tbody>
<tr>
<td colspan="3" style="padding: 0pt;">
<hr
style="border: 0pt none ; height: 1px; background-color: rgb(0, 0, 0);"></td>
</tr>
<tr>
<td style="padding: 12px;"><a href="http://www.sita.lu"><img
src="cid:part1.03080701.00060402@sita.lu" border="0"></a>
</td>
<td style="padding: 12px; width: 250px;" nowrap="nowrap">
<span
style="font-family: verdana; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: normal; font-size-adjust: none; font-stretch: normal;">Yves
Glodt</span><br>
Analyste-Programmeur<br>
Responsable Linux et Web
</td>
<td style="padding: 12px;" nowrap="nowrap">
Sita Software S.A.<br>
220, avenue de la Liberté<br>
L-4602 Niedercorn<br>
Tel: (+352) 58 00 93-10<br>
Fax: (+352) 58 00 93-89
</td>
</tr>
<tr>
<td colspan="3" style="padding: 0pt;">
<hr
style="border: 0pt none ; height: 1px; background-color: rgb(0, 0, 0);"></td>
</tr>
</tbody>
</table>
</div>
</body>
</html>