Skip to content

Commit 08ff99e

Browse files
committed
update README
1 parent 759e519 commit 08ff99e

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ Quick Start
2929
1. Generate keys (run once):
3030

3131
```bash
32+
# Generate server host key
33+
qsh genkey -o ./server_hppk
34+
35+
# Generate client key
3236
qsh genkey -o ./id_hppk
3337
```
3438

@@ -37,7 +41,13 @@ Quick Start
3741
2. Start the server:
3842

3943
```bash
40-
qsh server -l :2323 -c client-1=/etc/qsh/id_hppk.pub
44+
qsh server -l :2323 --host-key ./server_hppk -c client-1=/etc/qsh/id_hppk.pub
45+
```
46+
47+
Or use a clients configuration file:
48+
49+
```bash
50+
qsh server -l :2323 --host-key ./server_hppk --clients-config /etc/qsh/clients.json
4151
```
4252

4353
3. Connect from the client (client mode is the default when no subcommand is provided):

0 commit comments

Comments
 (0)