tnk-studio / gortal Goto Github PK
View Code? Open in Web Editor NEW🚪A super lightweight jumpserver service developed using the Go language. 一个使用 Go 语言开发的,超级轻量的跳板机服务。
License: Apache License 2.0
🚪A super lightweight jumpserver service developed using the Go language. 一个使用 Go 语言开发的,超级轻量的跳板机服务。
License: Apache License 2.0
实际上用户已经创建了,普通用户,
Username 'ttt' of user not existed. Please choose from [ilay ttt].
文档写的 docker pull elfgzp/gortal:latest,无法拉取镜像,因为在 docker hub 中,并不存在 latest 的 tag。可以把 最新的 elfgzp/gortal:1.2.4 tag为 elfgzp/gortal:latest 再传到docker hub 啦
在删除主机时,会删掉排除选择的所有主机
建议删除主机时,最好把 ssh 的私钥和公钥一起删掉,否则后面再添加相同ip的文件的ssh秘钥文件的时候还要改名才可以
登录后 使用 vim 打开文件,开头几行会不显示,往下翻页后,会导致一系列的显示问题。
登录后,终端输入内容,感觉每行的宽度是是固定的字符串,这个问题倒没啥影响的。
我是使用docker部署的
请问下在创建新用户的时候Your publicKey's position应该填什么啊,每次选择机器都提示ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain 但是我看pubkey在目标机器上也有
请大佬答疑解惑
无论用二进制还是docker都是这样,操作系统rocky9
比如命令行全程录像?
有计划实现JumpServer堡垒机的功能吗,那个真的好用,就是python开发的安装太麻烦,Go语言开发的安装简单
如题
目前我已经在 docker 里面安装了这个服务,但是不知道如何链接服务器。
Edit servers 过程的时候,我想在重新编辑的时候使用 Ctrl+C。
使用 Ctrl+C 后,从头开始编辑 server 信息,编辑完成后 查看 List server 程序退出
报错如下
03:46:43.240 SaveTo ▶ INFO 031 Save config to '/root/.gortal.yml'
03:46:43.242 ShowMenu ▶ DEBU 032 Show menu [%!s(*pui.MenuItem=&{Add server map[] <nil> <nil> 0x6c25b0 false }) %!s(*pui.MenuItem=&{Edit server map[] <nil> 0x6c3c50 <nil> false }) %!s(*pui.MenuItem=&{Delete server map[] <nil> 0x6c3c50
<nil> false })]
03:46:47.917 ShowMenu ▶ DEBU 033 Selected index: 3 subMenuLabel: back err: %!s(<nil>)
03:46:47.917 ShowMenu ▶ DEBU 034 Show menu [%!s(*pui.MenuItem=&{List servers map[] 0x6bb310 0x6c3830 <nil> You don't have a server yet, please go to the 'Edit Server' menu to add a server false }) %!s(*pui.MenuItem=&{Edit users map[] 0x6
bb320 0x6c2140 <nil> false }) %!s(*pui.MenuItem=&{Edit servers map[] 0x6bb320 0x6c2140 <nil> false }) %!s(*pui.MenuItem=&{Edit personal info map[] <nil> 0x6c2140 <nil> false })]
03:46:48.712 ShowMenu ▶ DEBU 035 Selected index: 0 subMenuLabel: List servers err: %!s(<nil>)
03:46:48.712 ShowMenu ▶ DEBU 036 Selected: &{Label:List servers Info:map[] IsShow:0x6bb310 SubMenuTitle: GetSubMenu:0x6c3830 SelectedFunc:<nil> NoSubMenuInfo:You don't have a server yet, please go to the 'Edit Server' menu to add a server
BackAfterSelected:false BackOptionLabel:}
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x6663b7]
goroutine 89 [running]:
github.com/TNK-Studio/gortal/config.(*Config).GetUserServers(0xc000012900, 0xc00012d890, 0x4)
/opt/config/config.go:177 +0x1c7
github.com/TNK-Studio/gortal/core/pui.GetServersMenu.func1(0x0, 0xc0000d6850, 0xc000013330, 0xa20c78, 0x0, 0x0, 0x0)
/opt/core/pui/server.go:285 +0xd0
github.com/TNK-Studio/gortal/core/pui.(*PUI).ShowMenu(0xc000106148, 0x777f40, 0x23, 0xc00000f3a0, 0x76d809, 0x4, 0xa20c78, 0x0, 0x0)
/opt/core/pui/g.go:68 +0xc71
github.com/TNK-Studio/gortal/core/pui.(*PUI).ShowMainMenu(...)
/opt/core/pui/g.go:107
github.com/TNK-Studio/gortal/core/jump.(*Service).Run(0xc000129f88, 0xc000013330)
/opt/core/jump/g.go:51 +0x244
main.main.func1(0x7dd180, 0xc0000b2580)
/opt/main.go:40 +0x96
github.com/gliderlabs/ssh.(*session).handleRequests.func1(0xc0000b2580)
/go/pkg/mod/github.com/gliderlabs/[email protected]/session.go:239 +0x3b
created by github.com/gliderlabs/ssh.(*session).handleRequests
/go/pkg/mod/github.com/gliderlabs/[email protected]/session.go:238 +0x467
如题
我用二进制的文件,启动在Alpine上,第一次使用ssh 到服务器的2222端口输入root密码提示Permission denied,从22端口登录是正常的,请问是什么原因?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.