No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
remoteconnect.py

README.md

pexpect-alternate

pexpect alternate in python We generally use pexpect in python to ssh to remote hosts and execute our commands. But pexpect module is not available in all system and there are restriction to do the installations. So using select module we created a script to connect remotely and execute our tasks.

This script can be used as :

Usage: python remoteconnect.py user remotehost password command-to-run-on-ssh