[Baypiggies] Finding a reliable Python SSH client

Nigel Stolting nigel.stolting at gmail.com
Wed Dec 9 07:43:15 CET 2009


Thank you for the responses.

I had a quick look at Fabric and after only a short amount of time was
running commands against my remote Linux server.

Regards

Nigel Stolting

On Tue, Dec 8, 2009 at 6:18 PM, Brent Tubbs <brent.tubbs at gmail.com> wrote:
> +1 for Fabric.  I first set it up about a week ago for deploying a Django
> project I'm working on. Besides uploading and unpacking my source, it uses
> ssh to restart my apache instance and run my database migrations.
>
> On Tue, Dec 8, 2009 at 5:09 PM, Keith Dart <keith at dartworks.biz> wrote:
>>
>> === On Tue, 12/08, Nigel Stolting wrote: ===
>> > I’m looking to see if anyone has had any experience (and success) with
>> > using a Python based SSH client.
>> ===
>>
>> I've done this successfully using my own library (includes an expect.py
>> module that is not pexpect.py but a whole new implementation).
>>
>> It's part of the Pycopia collection.
>>
>> http://code.google.com/p/pycopia/
>>
>> Use subversion to get it.
>>
>> The actual SSH wrapper is here:
>>
>>
>> http://code.google.com/p/pycopia/source/browse/trunk/process/pycopia/sshlib.py
>>
>> and the expect-like module:
>>
>>
>> http://code.google.com/p/pycopia/source/browse/trunk/process/pycopia/expect.py
>>
>> Works in conjunction with the proctools module:
>>
>>
>> http://code.google.com/p/pycopia/source/browse/trunk/process/pycopia/proctools.py
>>
>>
>>
>> -- Keith Dart
>>
>> --
>> -- --------------------
>> Keith Dart
>> <keith at dartworks.biz>
>> =======================
>> _______________________________________________
>> Baypiggies mailing list
>> Baypiggies at python.org
>> To change your subscription options or unsubscribe:
>> http://mail.python.org/mailman/listinfo/baypiggies
>
> _______________________________________________
> Baypiggies mailing list
> Baypiggies at python.org
> To change your subscription options or unsubscribe:
> http://mail.python.org/mailman/listinfo/baypiggies
>


More information about the Baypiggies mailing list