Skip to content

Commit a8a3930

Browse files
committed
增加多线程
1 parent e2e2dc1 commit a8a3930

3 files changed

Lines changed: 17 additions & 86 deletions

File tree

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
11
remote_cmd
22
==========
33

4-
远程批量执行管理多台服务器
4+
-h,-H,--help 帮助页面
5+
-C, --cmd 执行命令模式
6+
-M, --command 执行命令模式
7+
-S, --sendfile 传输文件模式
8+
-L, --localpath 本地文件路径
9+
-R, --remotepath 远程服务器路径
10+
11+
IP列表格式:
12+
13+
IP地址 用户名 密码 端口
14+
192.168.1.1 root 123456 22
15+
16+
e.g.
17+
批量执行命令格式: -C "IP列表" -M '执行的命令'
18+
批量传送文件: -S "IP列表" -L "本地文件路径" -R "远程文件路径"
19+
错误日志文件:$PWD/ssh_errors.log
20+

remote_cmd.py

Lines changed: 0 additions & 41 deletions
This file was deleted.

remote_file.py

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)