https://github.com/codeskyblue/sshgo
通过使用sshpass进行机器间的调整,支持机器名的简写
https://github.com/codeskyblue/sshgo
Last synced: 10 months ago
JSON representation
通过使用sshpass进行机器间的调整,支持机器名的简写
- Host: GitHub
- URL: https://github.com/codeskyblue/sshgo
- Owner: codeskyblue
- Created: 2013-07-05T07:13:38.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-08-30T08:43:19.000Z (over 12 years ago)
- Last Synced: 2025-02-02T01:47:46.115Z (11 months ago)
- Language: Python
- Size: 21.4 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## README ##
* Created: 2013-01-09
* By: shxsun
## How to Hack or Build dist file
first install python2.7, clone files to local
* easy\_install pexpect
use `sh make.bash` to get dist file(sshgo)
## Config File
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
## How to use
* `sshgo ex1` to jump to example1.com
* `sshgo 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
## Relative information ##
[a modify sshpass support yes/no](https://github.com/xurenlu/sshpass/blob/master/main.c)