[Twisted-Python] ssh client and server

Vasil Vangelovski vvangelovski at gmail.com
Fri Apr 11 11:08:05 EDT 2008


I did look at that too. In and Ideal situation I'd make a server that 
responds to exec from the client, generates a response for the command 
and sends it back to the client, then drops the connection. But I can't 
find a way to do that.

Kuba Konczyk wrote:
> Have a look at http://twistedmatrix.com/trac/browser/trunk/doc/conch/examples/sshsimpleserver.py
>
> 2008/4/11, Vasil Vangelovski <vvangelovski at gmail.com>:
>   
>> I want to write a custom ssh server and client. the client should
>>  authenticate, execute just one command on the server and get back the
>>  response. I've been following the examples from the O'reilly book, but
>>  I'm kinda lost. Basicaly what I wand to do is use the client from the
>>  last example, but a simpler server without a terminal emulator,
>>  nothing fancy. Can anyone help?
>>
>>     
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>   





More information about the Twisted-Python mailing list