This website requires JavaScript.
Explore
Help
Register
Sign In
github
/
natpass
Watch
4
Star
0
Fork
0
mirror of
https://github.com/lwch/natpass.git
synced
2024-04-21 12:41:54 +00:00
Code
Issues
Projects
Releases
Wiki
Activity
Files
gitbook
natpass
/
dev
/
s3-shell.md
T
Add File
New File
Upload File
Apply Patch
李文超
and
gitbook-bot
b4827cd655
GitBook: [
#11
] No subject
2022-07-07 06:50:04 +00:00
502 B
Raw
Permalink
Blame
History
S3 - shell
shell功能的主要流程如下:
当用户点击终端页面的连接按钮后,会调用
/new
接口创建一个到远端的连接
在
/new
接口中会优先发送一个connect_req消息来创建一个shell的连接
等待远端返回connect_rep消息,若连接创建成功则返回该链接的ID
创建
/ws/<linkid>
的websocket连接
调用
/resize
接口调整pty设备的大小
开始转发数据
Reference in New Issue
View Git Blame
Copy Permalink