All Projects → TNK-Studio → Gortal

TNK-Studio / Gortal

Licence: apache-2.0
🚪A super lightweight jumpserver service developed using the Go language. 一个使用 Go 语言开发的,超级轻量的跳板机服务。

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Gortal

Front-end-tutorial
🐼 最全的资源教程-前端涉及的所有知识体系,并在 Nice Front-end Tutorial 持续更新;
Stars: ✭ 1,655 (+531.68%)
Mutual labels:  tools
TTInputVisibilityController
Lightweight controller to keep your inputs visible when the keyboard is presented.
Stars: ✭ 21 (-91.98%)
Mutual labels:  lightweight
Framework
Swoole, PSR-15, PSR-7, PSR-11 lightweight modular anti-framework for REST micro-services.
Stars: ✭ 259 (-1.15%)
Mutual labels:  lightweight
encryptlab
🔑 Comprehensive (and free) list of encryption and decryption in Node.js.
Stars: ✭ 80 (-69.47%)
Mutual labels:  tools
WDIR
Good resources about web security that I have read.
Stars: ✭ 14 (-94.66%)
Mutual labels:  tools
Networkcaptureself
基于OKHttp的实用抓包小工具,你值得拥有
Stars: ✭ 255 (-2.67%)
Mutual labels:  tools
LongUI
Lightweight C++ GUI Library 轻量级C++图形界面库
Stars: ✭ 149 (-43.13%)
Mutual labels:  lightweight
Upterm
Secure Terminal Sharing
Stars: ✭ 261 (-0.38%)
Mutual labels:  tools
lighttp
Lightweight asynchronous HTTP/WS client/server
Stars: ✭ 22 (-91.6%)
Mutual labels:  lightweight
Httptoolkit Desktop
Electron wrapper to build and distribute HTTP Toolkit for the desktop
Stars: ✭ 260 (-0.76%)
Mutual labels:  tools
electron-request
Zero-dependency, Lightweight HTTP request client for Electron or Node.js
Stars: ✭ 45 (-82.82%)
Mutual labels:  lightweight
jsonlint
Lightweight command-line tool for validating JSON
Stars: ✭ 27 (-89.69%)
Mutual labels:  lightweight
Metrics
Lightweight alternative to github.com/prometheus/client_golang
Stars: ✭ 254 (-3.05%)
Mutual labels:  lightweight
InfosecHouse
Infosec resource center for offensive and defensive security operations.
Stars: ✭ 61 (-76.72%)
Mutual labels:  tools
Teex
Use Elixir like a scripting language, across your system
Stars: ✭ 262 (+0%)
Mutual labels:  tools
brisk-ioc
fast light brisk ioc/di container on nodejs; Node下快速 轻量的IoC/DI容器,依赖注入,配合装饰器使用
Stars: ✭ 12 (-95.42%)
Mutual labels:  lightweight
HOUDINI
Hundreds of Offensive and Useful Docker Images for Network Intrusion. The name says it all.
Stars: ✭ 791 (+201.91%)
Mutual labels:  tools
Remot3d
Remot3d: is a simple tool created for large pentesters as well as just for the pleasure of defacers to control server by backdoors
Stars: ✭ 263 (+0.38%)
Mutual labels:  tools
Lightweight Segmentation
Lightweight models for real-time semantic segmentation(include mobilenetv1-v3, shufflenetv1-v2, igcv3, efficientnet).
Stars: ✭ 261 (-0.38%)
Mutual labels:  lightweight
Dumpall
一款信息泄漏利用工具,适用于.git/.svn源代码泄漏和.DS_Store泄漏
Stars: ✭ 250 (-4.58%)
Mutual labels:  tools

gortal

Actions StatusDocker buildDocker build automated Docker pullRelease Download

A super lightweight jumpserver service developed using the Go language. English Document | 中文文档

gortal

Deployment

Gortal needs a server with a public IP as the server for the jumpserver service. This server needs external network access to be able to access the target server you need to access.

Docker

$ docker pull elfgzp/gortal:latest
$ mkdir -p ~/.gortal/.ssh
$ docker run \
  -p 2222:2222 \
  -v ~/.gortal:/root\
  -v ~/.gortal/.ssh:/root/.ssh\
  --name gortal -d gortal:latest

Binary file

Download the version you need from the Release page, decompress it to get the gortal binary executable, and run it.

$ ./gortal
starting ssh server on port 2222...

How to use

First Time

After the gortal service is started, an sshd service will be started on port 2222. You can also set the startup port through -p.

After the service is started, you only need to use the ssh command to access the service.

$ ssh 127.0.0.1 -p 2222
[email protected]'s password:
New Username: root█
Password: ******█
Confirm your password: ******█
Please login again with your new acount.
Shared connection to 127.0.0.1 closed.

The default user password for the first access is newuser, and then the command line prompts to create a new user. Follow the prompts to create a new admin account for the jumpserver service.

$ ssh [email protected] -p 2222
[email protected]'s password:
Use the arrow keys to navigate: ↓ ↑ → ← 
? Please select the function you need: 
  ▸ List servers
    Edit users
    Edit servers
    Edit personal info
    Quit

You can use it after logging in with your password again.

Upload or download file server via jumpserver

If you want to upload or download file from the server via jumpserver, you can use the scp command in the following format:

$ scp -P 2222 ~/Desktop/README.md  [email protected]:[email protected]:~/Desktop/README1.md
README.md                                        100% 9279    73.9KB/s   00:00
scp -P 2222 [email protected]:[email protected]:~/Desktop/video.mp4 ~/Downloads
video.mp4                           100%   10MB  58.8MB/s   00:00

Note the use of : after [email protected] plus the key and username of the server you need to transfer, and finally write the destination or source path. Folder transfer is currently not supported. Please compress the file and upload or download it.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].