Lines Matching refs:lws
6 lws-ssh-base is a protcol plugin for libwebsockets that implements a
50 lws-ssh-base is Free Software, available under libwebsockets' MIT license.
65 lws installs a test keypair in /usr[/local]/share/libwebsockets-test-server
73 "lws-test-sshd" was run under. It accepts the lws ssh test key which is
86 $ ssh -p 2200 -i /usr/local/share/libwebsockets-test-server/lws-ssh-test-keys anyuser@127.0.0.1
89 2) There's also a working example plugin `lws-sshd-demo` that "subclasses" the
90 abstract `lws-ssh-base` plugin to make a protocol which can be used from,
92 the lws-sshd-demo ssh server, the related config is:
100 "lws-ssh-base": {
102 "ops-from": "lws-sshd-demo"
104 "lws-sshd-demo": {
119 `LWS_WITH_CGI`, since it uses lws helpers to spawn a shell.
121 lws-ssh-base itself doesn't require CGI support in libwebsockets.
125 Include `lws-plugin-ssh-base` in your app, either as a runtime plugin or by using
126 the lws static include scheme.
130 `plugins/ssh-base/include/lws-plugin-sshd-static-build-includes.h`, you can see
135 `plugins/ssh-base/include/lws-plugin-ssh.h` defines
164 ### Step 3: enable `lws-ssh-base` protocol to a vhost and configure using pvo
180 "lws-sshd-base",
197 To support other protocols that want to provide ops to lws-ssh-base themselves
200 pointer points to the ops struct lws-ssh-base should use.
204 A worked example of using the abstract `lws-ssh-base` plugin from another
209 - the plugin sets the ops struct for the vhost instantiation of `lws-ssh-base`
213 - the config for the vhost tells `lws-ssh-base` to pick up the ops struct
217 "lws-ssh-base": {
219 "ops-from": "lws-sshd-demo"
223 - the config for the vhost tells lws this vhost only serves RAW (ie, no http)
233 - the config for the vhost marks the protocol that uses `lws-ssh-base`, not
234 `lws-ssh-base` itself, as the protocol to be served for raw connections
237 "lws-sshd-demo": {