• Home
  • Raw
  • Download

Lines Matching +full:use +full:- +full:pty

2  * libwebsockets - small server side websockets and web server implementation
4 * Copyright (C) 2010 - 2019 Andy Green <andy@warmcat.com>
9 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
50 #define SSHMO_VEOF 5 /* End-of-file character (sends EOF from the
52 #define SSHMO_VEOL 6 /* End-of-line character in addition to
54 #define SSHMO_VEOL2 7 /* Additional end-of-line character. */
56 * control-Q). */
57 #define SSHMO_VSTOP 9 /* Pauses output (normally control-S). */
100 #define SSHMO_ONLCR 72 /* Map NL to CR-NL. */
102 #define SSHMO_ONOCR 74 /* Translate newline to CR-newline (out). */
113 /*! \defgroup ssh-base plugin: lws-ssh-base
114 * \ingroup Protocols-and-Plugins
116 * ##Plugin lws-ssh-base
118 * This is the interface to customize the ssh server per-vhost. A pointer
122 * - "lws-ssh-base" - the ssh serving part
124 * - "lws-telnetd-base" - the telnet serving part
127 * different IO and server keys per-vhost.
129 * See also ./READMEs/README-plugin-sshd-base.md
137 * channel_create() - Channel created
154 * channel_destroy() - Channel is being destroyed
164 * rx() - receive payload from peer
176 * tx_waiting() - report if data waiting to transmit on the channel
183 * You should use one of the lws_callback_on_writable() family to
186 * Returning -1 from here will close the tcp connection to the client.
191 * tx() - provide data to send on the channel
201 * You should use one of the lws_callback_on_writable() family to
209 * get_server_key() - retreive the secret keypair for this server
223 * set_server_key() - store the secret keypair of this server
235 * set_env() - Set environment variable
246 * exec() - spawn command and wire up stdin/out/err to ssh channel
252 * \param finish_handle: opaque handle identifying this exec for use with \p finish
259 * shell() - Spawn shell that is appropriate for user
264 * \param finish_handle: opaque handle identifying this exec for use with \p finish
272 * pty_req() - Create a Pseudo-TTY as described in pty
275 * \param pty: pointer to struct describing the desired pty
277 * Client requested a pty. Return nonzero to fail.
279 int (*pty_req)(void *priv, struct lws_ssh_pty *pty);
282 * child_process_io() - Child process has IO
294 * child_process_io() - Child process has terminated
304 * disconnect_reason() - Optional notification why connection is lost
307 * \param desc: UTF-8 description of reason
317 * is_pubkey_authorized() - check if auth pubkey is valid for user
320 * \param type: "ssh-rsa"
336 * banner() - copy the connection banner to buffer
344 * before auth, into buf. The text should be in UTF-8.
357 * By convention a string like "SSH-2.0-Libwebsockets"