通过ssh批量修改主机密码(无sudo权限)-go现学现卖五一版
疫情的五一注定没地方可去,干点啥呢。。。。。卷起来算了,把最近学的golang用用吧,于是把之前用python写的通过ssh批量修改主机密码的运维小工具用go重新写了一遍,虽然没用go的协程,用起来也算顺手了,能交叉编译、运行无依赖算是go的大强项吧。下载:GitHub - sjwhi8989/changepasswd: Modify the host password in batches through ssh interactively使用方法:1、新建配置文件host.cfg,把要修
原创
2022-05-03 21:39:34 ·
1741 阅读 ·
0 评论