On 03/31/2009 01:19 PM, Ameya Lokare wrote:
Thanks for the response, Paul. Sorry I wasn't clear before. I realize they are not made to work with each other. What I intended to ask was, what modifications are required to make them work with each other? Basically, I want to write both the ssh client and server with conch, and have them transfer some data to each other over the ssh channel. How can this be done?
You can either make the server accept commands (see the execCommand() method on session.SSHSession) or tell the client to request a shell:
self.conn.sendRequest(self, 'shell', '', wantReply=True) HTH, -p -- Paul Swartz paulswartz at gmail dot com http://paulswartz.net/ AIM: z3penguin _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python