爱意满满的作品展示区。
weakiwi

golang 实现的 pssh--psshgo

  •  
  •   weakiwi ·
    weakiwi · Nov 28, 2018 · 2656 views
    This topic created in 2817 days ago, the information mentioned may be changed or developed.

    https://github.com/weakiwi/psshgo

    之前用 python 的 pssh ( parallel ssh )来做集群装机挺爽的,但是离线环境的话不是那么方便。 刚好最近在学 golang,就用 golang 撸了个 pssh。

    pssh 有的 psshgo 有:

    1. 多主机执行命令
    2. 多主机传输文件

    pssh 没有的 psshgo 有:

    通过配置.ini 文件,一次执行多条命令或者传输文件

    3 replies    2018-11-30 10:44:06 +08:00
    fhefh
        1
    fhefh  
       Nov 28, 2018
    star
    rming
        2
    rming  
       Nov 29, 2018
    前几天好像有个 mmh 了解一下
    dorothyREN
        3
    dorothyREN  
       Nov 30, 2018
    我选择 ansible
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2741 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 06:25 · PVG 14:25 · LAX 23:25 · JFK 02:25
    ♥ Do have faith in what you're doing.