I have 100 servers which need a new backup server added to a text file, and then the backup agent restarted.

Ravi Teja webraviteja at gmail.com
Sat Jul 1 15:35:34 EDT 2006


LittlePython wrote:
> Does this require a ssh client or server?
>
> I use authpf to open up my  PF firewall for internet use. Generally I just
> open up putty and make a connection to the FW ( which open the ports) and
> minize it till I am done. When I close putty authpf losses the ssh session
> heartbeat and will then instruct the FW to close the ports. I would love to
> write a simple client to do this form me instead of using putty. Do you
> think these mods would work for me on a windows platform?
>
> Thx

Pexpect needs a POSIX system. However, you can use Cygwin.

>From the website, "Pexpect does not currently work on the standard
Windows Python (see the pty requirement); however, it seems to work
fine using Cygwin."




More information about the Python-list mailing list