How thread-safe is SSH2Connection?

Baltz, Kenneth Kbaltz@firstam.com
Tue, 31 Dec 2002 11:32:15 -0800


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C2B103.53048AA0
Content-Type: text/plain; 
 charset=us-ascii
Content-Transfer-Encoding: 7bit

I have a server that needs to perform various activities on a remote machine
including SFTP and executing commands.  Right now I'm only opening a single
connection to each remote machine and keeping a reference around to speed
things up.  Am I going to get in trouble if more than one thread uses this
connection at a time? 

K.C.

------_=_NextPart_001_01C2B103.53048AA0
Content-Type: text/html; 
 charset=us-ascii
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>How thread-safe is SSH2Connection?</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>I have a server that needs to perform various =
activities on a remote machine including SFTP and executing =
commands.&nbsp; Right now I'm only opening a single connection to each =
remote machine and keeping a reference around to speed things up.&nbsp; =
Am I going to get in trouble if more than one thread uses this =
connection at a time? </FONT></P>

<P><FONT SIZE=3D2>K.C.</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C2B103.53048AA0--