Update documentation examples to match current command line interfaces

- Fixed wssshd examples to include required --password parameter
- Updated wsssh examples to remove obsolete 'ssh' command requirement
- Updated wsscp examples to remove obsolete 'scp' command requirement
- Fixed debug mode examples to use current CLI syntax
parent 846679e7
...@@ -206,7 +206,7 @@ Input: hostname (e.g., "myclient.example.com:9898") ...@@ -206,7 +206,7 @@ Input: hostname (e.g., "myclient.example.com:9898")
#### Command Line Options #### Command Line Options
```bash ```bash
wssshd --host HOST --port PORT --domain DOMAIN [--debug] wssshd --host HOST --port PORT --domain DOMAIN --password PASS [--web-host HOST --web-port PORT] [--web-https] [--debug]
``` ```
- `--host HOST`: Bind address for WebSocket server (default: 0.0.0.0) - `--host HOST`: Bind address for WebSocket server (default: 0.0.0.0)
...@@ -237,7 +237,7 @@ wssshc --server-ip IP --port PORT --id ID --password PASS [--interval SEC] [--de ...@@ -237,7 +237,7 @@ wssshc --server-ip IP --port PORT --id ID --password PASS [--interval SEC] [--de
#### Command Line Options #### Command Line Options
```bash ```bash
wsssh [--local-port PORT] [--debug] ssh [SSH_OPTIONS...] user@host [COMMAND...] wsssh [--local-port PORT] [--debug] user@client.domain [ssh_options...]
``` ```
- `--local-port PORT`: Local tunnel port (default: auto-assign) - `--local-port PORT`: Local tunnel port (default: auto-assign)
...@@ -453,16 +453,16 @@ Enable debug output for detailed troubleshooting: ...@@ -453,16 +453,16 @@ Enable debug output for detailed troubleshooting:
```bash ```bash
# wssshd debug # wssshd debug
./wssshd --debug --host 0.0.0.0 --port 9898 --domain example.com ./wssshd --debug --host 0.0.0.0 --port 9898 --domain example.com --password mysecret
# wssshc debug # wssshc debug
./wssshc --debug --server-ip <ip> --port 9898 --id client1 --password <password> ./wssshc --debug --server-ip <ip> --port 9898 --id client1 --password <password>
# wsssh debug # wsssh debug
./wsssh --debug ssh user@client.example.com ./wsssh --debug user@client.example.com -p 9898
# wsscp debug # wsscp debug
./wsscp --debug scp file user@client.example.com:/path/ ./wsscp --debug file user@client.example.com:/path/ -P 9898
``` ```
### Log Analysis ### Log Analysis
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment