version 1.99.2.3, 2002/06/26 15:30:38 |
version 1.99.2.4, 2002/10/11 14:51:52 |
|
|
snprintf(string, sizeof string, |
snprintf(string, sizeof string, |
"%c?\r\n\ |
"%c?\r\n\ |
Supported escape sequences:\r\n\ |
Supported escape sequences:\r\n\ |
~. - terminate connection\r\n\ |
%c. - terminate connection\r\n\ |
~C - open a command line\r\n\ |
%cC - open a command line\r\n\ |
~R - Request rekey (SSH protocol 2 only)\r\n\ |
%cR - Request rekey (SSH protocol 2 only)\r\n\ |
~^Z - suspend ssh\r\n\ |
%c^Z - suspend ssh\r\n\ |
~# - list forwarded connections\r\n\ |
%c# - list forwarded connections\r\n\ |
~& - background ssh (when waiting for connections to terminate)\r\n\ |
%c& - background ssh (when waiting for connections to terminate)\r\n\ |
~? - this message\r\n\ |
%c? - this message\r\n\ |
~~ - send the escape character by typing it twice\r\n\ |
%c%c - send the escape character by typing it twice\r\n\ |
(Note that escapes are only recognized immediately after newline.)\r\n", |
(Note that escapes are only recognized immediately after newline.)\r\n", |
escape_char); |
escape_char, escape_char, escape_char, escape_char, |
|
escape_char, escape_char, escape_char, escape_char, |
|
escape_char, escape_char); |
buffer_append(berr, string, strlen(string)); |
buffer_append(berr, string, strlen(string)); |
continue; |
continue; |
|
|
|
|
static Channel * |
static Channel * |
client_request_forwarded_tcpip(const char *request_type, int rchan) |
client_request_forwarded_tcpip(const char *request_type, int rchan) |
{ |
{ |
Channel* c = NULL; |
Channel *c = NULL; |
char *listen_address, *originator_address; |
char *listen_address, *originator_address; |
int listen_port, originator_port; |
int listen_port, originator_port; |
int sock; |
int sock; |
|
|
return c; |
return c; |
} |
} |
|
|
static Channel* |
static Channel * |
client_request_x11(const char *request_type, int rchan) |
client_request_x11(const char *request_type, int rchan) |
{ |
{ |
Channel *c = NULL; |
Channel *c = NULL; |
|
|
return c; |
return c; |
} |
} |
|
|
static Channel* |
static Channel * |
client_request_agent(const char *request_type, int rchan) |
client_request_agent(const char *request_type, int rchan) |
{ |
{ |
Channel *c = NULL; |
Channel *c = NULL; |