On 2012-04-18, tinn...@isbd.co.uk <tinn...@isbd.co.uk> wrote:
> Richard Shea <shearich...@gmail.com> wrote:
>> On a *nix box this is a reasonable bit of Python :
>> 
>> cmd = "ssh -o StrictHostKeyChecking=no -i %s %s@%s '%s' > %s" % (key,
>> user, dns, "echo CONNECTION READY", tmp_file)
>> result = os.system(cmd)
>> 
>> ... on a Windows box it will fail because 'ssh' isn't part of Windows.
>
> ssh isn't guaranteed to be part of Unix/Linux systems surely.

It's not absolutely, 100%, iron-clad guaranteed, but 

 * it's generally a pretty safe bet

 * it's usually trivial to install if it's not there

-- 
Grant Edwards               grant.b.edwards        Yow! Clear the laundromat!!
                                  at               This whirl-o-matic just had
                              gmail.com            a nuclear meltdown!!
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to