Coder Social home page Coder Social logo

andesli / gossh Goto Github PK

View Code? Open in Web Editor NEW
205.0 10.0 79.0 129.59 MB

gossh is an extremely concise ssh tool which developed by go language. It has only a binary program without any dependencies and is really ready to use out of the box. gossh is used Used to manage of linux (like unix) machines: including remote execution of commands and push and pull files, and support stand-alone and batch modes.

License: Apache License 2.0

Go 98.57% Shell 1.43%
go gossh ssh

gossh's Issues

无法通过ssh免密操作

场景:堡垒机批量管理一批机器,但是不希望把root密码对外公开,就会通过堡垒机对其他机器配置好免密登陆。这种场景下gossh工具就无法实现了。这种场景下必须切换成ansible工具使用

建议:命令参数提供一个免密操作参数,连接采用读取本机私钥获取签名,然后与远端机器建立连接,该方案是可行的,目前我这边在你们工具上改造了,正在使用

增加处理进度和任务超时时间

环境

  • 并行多任务

需求建议

  • 增加一个线程定时(每隔0.1s)刷新显示当前正在处理的 ip 列表,这样有助于用户判断执行较慢的服务器
  • 增加任务超时时间,ssh连接、远程命令、或其他网速限制等因素会导致该任务“卡住”较长时间

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.