Giter Site home page Giter Site logo

gmsw's Introduction

说明


功能

  • 加密

    • 将给定的字符串以AES的方式进行加密,并把加密之后的字符串写入对应的文件中。
  • 远程免密传输

    • 通过读取本地加密文件,实现SSH协议免密交互功能,并将本地文件传输至目标主机设备上。
  • 执行命令

    • 本地关闭服务功能;
    • 本地检查服务状态功能;
    • 本地启动服务功能;
    • 远程执行命令功能;

具体使用方法

  • 帮助
    [root@localhost]# gmsf -h

  • 加密
    [root@localhost]# gmsf encrypt --tpwd='1234'

  • 远程执行命令
    [root@localhost]# gmsf cmd -t user@ip 'cmdline'

  • 远程执行命令(非22端口)
    [root@localhost]# gmsf cmd -P 端口 -t user@ip 'cmdline'

  • 传输文件
    [root@localhost]# gmsf cmd -T 文件完成路径 -t user@ip '目标段文件完成路径' //默认5个并发传输

  • 传输文件(非22端口)
    [root@localhost]# gmsf cmd -P 端口 -T 文件完成路径 -t user@ip '目标段文件完成路径' //默认5个并发传输

  • 关闭服务
    [root@localhost]# gmsf kill servicename

  • 检测服务
    [root@localhost]# gmsf check servicename

  • 启动服务
    [root@localhost]# gmsf start -d '启动目录' '启动命令'

gmsw's People

Contributors

bigfishc 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.