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

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -