TNK-Studio/gortal
Fork: 60 Star: 363 (更新于 2024-12-13 09:01:17)
license: Apache-2.0
Language: Go .
🚪A super lightweight jumpserver service developed using the Go language. 一个使用 Go 语言开发的,超级轻量的跳板机服务。
最后发布版本: v1.3.1 ( 2020-11-17 10:28:31)
gortal
A super lightweight jumpserver service developed using the Go language. English Document | 中文文档
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
root@127.0.0.1'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 root@127.0.0.1 -p 2222
root@127.0.0.1'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 gzp@jumpserver:gzp@server2:~/Desktop/README1.md
README.md 100% 9279 73.9KB/s 00:00
scp -P 2222 gzp@jumpserver:gzp@server2:~/Desktop/video.mp4 ~/Downloads
video.mp4 100% 10MB 58.8MB/s 00:00
Note the use of :
after gzp@jumpserver
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.
最近版本更新:(数据更新于 2024-10-30 17:57:03)
2020-11-17 10:28:31 v1.3.1
2020-10-30 22:22:09 v1.3.0
2019-12-17 12:16:41 v1.2.9
2019-12-17 02:00:50 v1.2.8
2019-12-13 16:33:58 v1.2.7
2019-12-12 13:18:16 v1.2.6
2019-12-10 12:56:51 v1.2.5
2019-12-08 23:02:07 v1.2.4
2019-12-08 00:03:49 v1.2.3
2019-12-07 16:12:45 v1.2.2
主题(topics):
golang, jumpserver, jumpserver-service, lightweight, tools
TNK-Studio/gortal同语言 Go最近更新仓库
2024-12-22 07:52:58 navidrome/navidrome
2024-12-21 20:15:12 SagerNet/sing-box
2024-12-21 03:25:54 SpecterOps/BloodHound
2024-12-19 23:11:24 shadow1ng/fscan
2024-12-19 21:50:56 minio/minio
2024-12-19 10:04:39 istio/istio