Hi,My aim is to connect to a remote machine and execute commands at the remote machine.. such as ifconfig... i found out a module named pexpect if anyone can help me out in thatThanking youRegards, ---ViNOJ DAViS---Regards,
Some python ssh packages are available if you are wanting to execute
commands on a machine that has ssh. ssh servers are available for
windows, but they aren't necessarily so well supported.
Here's a simple approach that works on ssh servers:
import commands
hostname = commands.getoutput('ssh [E