- Created: 2013-01-09
- By: shxsun
first install python2.7, clone files to local
- easy_install pexpect
use sh make.bash
to get dist file(sshgo)
default is a key word. store default username and password each group(like shxsun) store batch of machines.
[default]
username = work
password = 123456
[shxsun]
hostname[] = example1.com
hostname[] = example2.com
sshgo ex1
to jump to example1.comsshgo e2
to jump to example2.com
ex1 and e2 are short of example1.com and example2.com
if you use sshgo ex
, sshgo will just print the two machines, and exit