gosshtool

command module
v0.0.0-...-fcc202b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

README

gosshtool

similar to salt-ssh tools, 类似于salt-ssh的一个GO实现远程服务器管理的工具, 具有web页面操作,在多远程主机操作时,使用goroutines多协程后,ssh响应速度比ansible,salt-ssh快几倍
gosshtool:
image
ansible:
image

数据存储方式

mysql

命令行模式

Usage: gossh host [host|group] options [cmd|copyfile]
-h : specified a remote host, use , split one or more host
-g : specified a remote hostgroup
-e : Regrex match a remote host name default
-m : select a module, -m [cmd|copy]>
copy : [src, dest,mode,force,backup,user,owner]

e.g.: gossh -h steven -m cmd 'uptime'
gossh -h dbserver -m copy "src=/etc/nginx/nginx.conf dest=/etc/nginx/nginx.conf mode=0644"

主机列表

image

ssh远程操作

image

群组ssh远程操作

配置文件管理

用户管理

用户权限

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
bin
utils

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL