Sharing SSH2Connectors
Guy Gascoigne-Piggford
ggp at tripwire.com
Wed Oct 13 21:19:51 MEST 2004
I've been optimising some of our library usage and have been able to
speed up some of our scp transfers by sharing the SSH2Connector object
between an open ssh connection and an scp transfer to the same box. On
every unix box that I've tried this on it seems to work a) very reliably
and b) about .5s faster then using a fresh connector every time. My
problem is that when I do the same thing again the new SSH2 support on a
Cisco Router, it doesn't work. The scp copy just fails.
So my questions are, is what I'm trying to do even meant to work? If it
is, is there some property on the established ssh connection that I can
look at to detirmine if it's safe to share a connector like this?
BTW this is with 2.4.2.
Thanks - Guy
--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by
definition, not smart enough to debug it." - Brian W. Kernighan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://172.23.2.180/pipermail/mindterm-users/attachments/20041013/75a17d9b/attachment.htm
More information about the Mindterm-users
mailing list