The tool devscope allows the server to control the client, while the client can see what the server is doing.
It is useful for remote assistance, and explore non-interactive develop environments such as containers by cloud providers.
Building requires go >= 1.15. Simply, run
go build ./cmd/devscope- Server starts listening:
~$ devscope listen :5072
• Listening at :5072
- Client connects to the server, and transfer control to the server.
~$ devscope connect localhost:5072
• Connected to localhost:5072
• Running /bin/sh -i
• Control transferred to Server
$
- Server can explore on behalf of the client:
~$ devscope listen :5072
• Listening at :5072
• Accepted from 127.0.0.1:44694
$ echo hello world
hello world
$