/py-expact

ssh-control

Primary LanguagePython

ssh-control

This is a simple and usage application basic on pexpect. It helps connect remote machine via SSH. Inputing commands automatically and checking the result.

Before the installation, please make sure that Python version is 2.6 or 2.7:

python --version

Installation

Get installation package with git:

git clone git@github.com:yamcheung/py-expact.git

Test with demo:

cd py-expact
vim test_controllor.py

update test_controllor.py with your remote IP and password, and exact:

python test_controllor.py