added --pty-shell to server
This commit is contained in:
16
README.md
16
README.md
@@ -1,10 +1,18 @@
|
||||
## pty and rpty access
|
||||
|
||||
## simple rpty access
|
||||
|
||||
- ./hodu server --rpc-on=0.0.0.0:9999 --ctl-on=[::1]:8888
|
||||
- ./hodu server --rpc-on=0.0.0.0:9999 --ctl-on=[::1]:8888 --pty-shell=/bin/bash
|
||||
- ./hodu client --rpc-to=127.0.0.1:9999 --ctl-on=[::1]:1107 --client-token=test-client --pty-shell=/bin/bash
|
||||
|
||||
Access `http://[::1]:8888/_rpty/xterm.html?client-token=test-client` on the server using the web browser.
|
||||
On the server-side:
|
||||
- Access `http://[::1]:8888/_rpty/xterm.html?client-token=test-client` using a web browser to access a pty session of a remote client.
|
||||
- Access `http://[::1]:8888/_pty/xterm.html` using a web browser to access a local pty session.
|
||||
|
||||
On the client-side:
|
||||
- Access `http://[::1]:1107/_pty/xterm.html` using a web browser to access a local pty session.
|
||||
|
||||
## port based proxy service
|
||||
- ./hodu server --rpc-on=0.0.0.0:9999 --ctl-on=0.0.0.0:8888 --pxy-on=0.0.0.0:9998 --wpx-on=0.0.0.0:9997
|
||||
- ./hodu client --rpc-to=127.0.0.1:9999 --ctl-on=127.0.0.1:1107 "127.0.0.2:22,0.0.0.0:12345,ssh,Access SSH Server"
|
||||
|
||||
## port based proxy service
|
||||
- ./hodu server --rpc-on=0.0.0.0:9999 --ctl-on=0.0.0.0:8888 --pxy-on=0.0.0.0:9998 --wpx-on=0.0.0.0:9997
|
||||
|
||||
Reference in New Issue
Block a user