# python-ssh-batch **Repository Path**: fengxp/python-ssh-batch ## Basic Information - **Project Name**: python-ssh-batch - **Description**: python-ssh-bat是一个运程批量处理的工具,使用python开发,通过ssh进行批量处理指令,所以终端设备需提前开启ssh服务。目前可以批量修改终端设备的时钟和执行其它自定义指令。 - **Primary Language**: Python - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2021-09-02 - **Last Updated**: 2024-01-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # python-ssh-batch #### 介绍 python-ssh-bat是一个运程批量处理的工具,使用python开发,通过ssh进行批量处理指令,所以终端设备需提前开启ssh服务。目前可以批量修改终端设备的时钟和执行其它自定义指令。 #### 软件架构 1. changeLocalTime.py 是一个批量修改终端设备的时区为上海时区的工具,并可通过ntp校时和更改硬件时钟,可根据自己的时钟服务器修改对应IP地址。 2. ssh-bat-cmds.py 是一个可以批量登陆终端设备,并批量处理指令的工具。终端设备列表可添加至ssh-list.csv文件,命令内容可更新ssh-cmd.txt。 #### 安装教程 1. xxxx 2. xxxx 3. xxxx #### 使用说明 使用方法: 1. python changeLocalTime.py -f ssh-list.csv 2. python ssh-bat-cmds.py -c ssh-list.csv -C ssh-cmd.txt