Skip to content
/ gosshtool Public

类似于salt-ssh, ansible的一个Golang实现的远程服务器管理工具, 方便的web管理模式, 同时支持命令行模式

License

Notifications You must be signed in to change notification settings

kggg/gosshtool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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远程操作

配置文件管理

用户管理

用户权限

About

类似于salt-ssh, ansible的一个Golang实现的远程服务器管理工具, 方便的web管理模式, 同时支持命令行模式

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •