Skip to content
Discussion options

You must be logged in to vote

The reason the SSH client doesn’t directly access the ConnectionManager cache to get the dialer and instead relies on the agent to initiate the /ssh/revdial?revdial.dialer=uid is rooted in ShellHub’s architecture and its use of reverse tunneling over a persistent WebSocket control channel.

When a device connects to ShellHub, it establishes a persistent WebSocket connection to the server. This WebSocket isn’t used for data transfer in the actual SSH sessions — it acts more like a control channel, allowing the server to send commands or requests to the agent (such as asking it to initiate a new tunnel).

Whenever an SSH client initiates a connection, ShellHub generates a unique identifier (u…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by shiqinfeng1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants