Skip to content

opdays/go-xshell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go 实现的web xshell

github地址

依赖

快速使用

下载我编译好的二进制

下载之后解压

windows用户打开cmd ./go-xshell.exe 启动

linux用户打开terminal ./go-xshell 启动

编译安装

git clone http://github.com/yy584089958/go-xshell

cd go-xshell

govendor sync

go build

./go-xshell

打开浏览器 http://127.0.0.1:18080/console/ip=x.x.x.x

登录截图

登录

登录成功截图

登录成功

vim截图

vim截图

如何嵌入其他运维系统

一个按钮的click事件如下:

windown.open("http://127.0.0.1:18080/console/ip=x.x.x.x","_blank","height=400, width=800,top=100px,left=100px");