version 1.71, 2001/05/16 21:53:53 |
version 1.72, 2001/05/24 18:57:53 |
|
|
"%c?\r\n\ |
"%c?\r\n\ |
Supported escape sequences:\r\n\ |
Supported escape sequences:\r\n\ |
~. - terminate connection\r\n\ |
~. - terminate connection\r\n\ |
~R - Request rekey (SSH protocol 2 only)\r\n\ |
~R - Request rekey (SSH protocol 2 only)\r\n\ |
~^Z - suspend ssh\r\n\ |
~^Z - suspend ssh\r\n\ |
~# - list forwarded connections\r\n\ |
~# - list forwarded connections\r\n\ |
~& - background ssh (when waiting for connections to terminate)\r\n\ |
~& - background ssh (when waiting for connections to terminate)\r\n\ |
|
|
packet_start(SSH_CMSG_EOF); |
packet_start(SSH_CMSG_EOF); |
packet_send(); |
packet_send(); |
} |
} |
} else if (escape_char == -1) { |
} else if (escape_char == SSH_ESCAPECHAR_NONE) { |
/* |
/* |
* Normal successful read, and no escape character. |
* Normal successful read, and no escape character. |
* Just append the data to buffer. |
* Just append the data to buffer. |
|
|
/* |
/* |
* Implements the interactive session with the server. This is called after |
* Implements the interactive session with the server. This is called after |
* the user has been authenticated, and a command has been started on the |
* the user has been authenticated, and a command has been started on the |
* remote host. If escape_char != -1, it is the character used as an escape |
* remote host. If escape_char != SSH_ESCAPECHAR_NONE, it is the character |
* character for terminating or suspending the session. |
* used as an escape character for terminating or suspending the session. |
*/ |
*/ |
|
|
int |
int |
|
|
|
|
if (compat20) { |
if (compat20) { |
session_ident = ssh2_chan_id; |
session_ident = ssh2_chan_id; |
if (escape_char != -1) |
if (escape_char != SSH_ESCAPECHAR_NONE) |
channel_register_filter(session_ident, |
channel_register_filter(session_ident, |
simple_escape_filter); |
simple_escape_filter); |
if (session_ident != -1) |
if (session_ident != -1) |