how to spawn multiple ssh requests in a twisted server? -


from twisted ssh example docs: http://twistedmatrix.com/documents/current/conch/examples/sshsimpleclient.py,

we learn twisted need reactor spawn ssh request:

protocol.clientcreator(reactor, simpletransport).connecttcp(host, 22) reactor.run() 

and want know how can spawn ssh request in twisted server ? there reactor in twisted server.

you may review examples how use http://twistedmatrix.com/documents/current/conch/examples/

reactor embedded twisted , called reactor.run() need write callbacks handling connection results.


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -