File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -396,11 +396,37 @@ or define `WOLFSSH_SHELL`:
396396 $ ./configure --enable-shell
397397 $ make
398398
399+ To try out this functionality, you can use the example echoserver and client.
400+ In a terminal do the following to launch the server:
401+
402+ $ ./examples/echoserver/echoserver -P <user>:junk
403+
404+ And in another terminal do the following to launch the example client:
405+
406+ $ ./examples/client/client -t -u <user> -P junk
407+
408+ Note that ` <user> ` must be the user name of the current user that is logged in.
409+
399410By default, the echoserver will try to start a shell. To use the echo testing
400411behavior, give the echoserver the command line option ` -f ` .
401412
402413 $ ./examples/echoserver/echoserver -f
403414
415+ To use the shell feature with wolfsshd add ` --enable-sshd ` to your configure
416+ command and use the following command:
417+
418+ $ sudo ./apps/wolfsshd/wolfsshd -D -h keys/gretel-key-ecc.pem -p 11111
419+
420+ If it complains about a bad ` sshd_config ` file, simply copy it to another file
421+ and remove the offending line that it complains about and use the ` -f ` command
422+ line parameter to point to the new file.
423+
424+ You can then connect to the ` wolfsshd ` server with ssh:
425+
426+ $ ssh <user>@localhost -p 11111
427+
428+ Note that ` <user> ` must be the user name of the current user that is logged in.
429+
404430CURVE25519
405431==========
406432
You can’t perform that action at this time.
0 commit comments