Code Monkey home page Code Monkey logo

ssh_batch's Introduction

ssh_batch

初学者制作脚本,仅用于研究测试。

使用python脚本批量SSH登录设备输入命令。

脚本读取同文件夹的iplist.txt,每行一个设备。

目前只能做到明文读取。格式如下:

IP 用户名 密码 设备类型 设备名或描述 SSH端口 ENABLE密码。以空格分隔,前三个必填,后面的信息可以用 ' 作为占位符。

当设备类型为 ' 或者不在预定义的设备类型中时,会读取同文件夹内的config.txt文件。需要手动编辑,一行一条命令。

ssh_batch's People

Contributors

str-130 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.