[Twisted-Python] Creating an SSH client programatically with Twisted?

Paul Swartz z3p at twistedmatrix.com
Tue Oct 22 17:45:44 MDT 2002


On 22 Oct 2002 at 12:14, Max Schubert wrote:

> Hi,
> 
>     Thank you for the information and help.  Paul Swartz sent me an SSH
>     client he has written and mentioned that he might be doing some more
>     client examples and documentation for the conch module at some point.
> 
> Max

As promised, I've attached a simple SSH client.  
It connects to a server, and runs three programs: 
true, false, and echo.  It tries to use a DSA 
public key in ~/.ssh/id_dsa[.pub] for 
authentication but falls back to asking for a 
password.  I'll be putting this in CVS soon, but 
you saw it here first :)
-p

-- 
     Paul Swartz
(o_  http://twistedmatrix.com/users/z3p.twistd/
//\  z3p at twistedmatrix.com
V_/_ AIM: Z3Penguin

-------------- next part --------------
The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any another MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

   ---- File information -----------
     File:  simple_ssh.py
     Date:  22 Oct 2002, 19:41
     Size:  2909 bytes.
     Type:  Text
-------------- next part --------------
A non-text attachment was scrubbed...
Name: simple_ssh.py
Type: application/octet-stream
Size: 2909 bytes
Desc: not available
URL: </pipermail/twisted-python/attachments/20021022/d3a78831/attachment-0002.obj>


More information about the Twisted-Python mailing list