Skip to content

Commit

Permalink
增加多线程
Browse files Browse the repository at this point in the history
  • Loading branch information
joe011 committed Nov 1, 2013
1 parent e2e2dc1 commit a8a3930
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 86 deletions.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
remote_cmd
==========

远程批量执行管理多台服务器
-h,-H,--help 帮助页面
-C, --cmd 执行命令模式
-M, --command 执行命令模式
-S, --sendfile 传输文件模式
-L, --localpath 本地文件路径
-R, --remotepath 远程服务器路径

IP列表格式:

IP地址 用户名 密码 端口
192.168.1.1 root 123456 22

e.g.
批量执行命令格式: -C "IP列表" -M '执行的命令'
批量传送文件: -S "IP列表" -L "本地文件路径" -R "远程文件路径"
错误日志文件:$PWD/ssh_errors.log

41 changes: 0 additions & 41 deletions remote_cmd.py

This file was deleted.

44 changes: 0 additions & 44 deletions remote_file.py

This file was deleted.

0 comments on commit a8a3930

Please sign in to comment.