| 87 |
.channel_pty_request_function = pty_request, |
.channel_pty_request_function = pty_request, |
| 88 |
.channel_shell_request_function = shell_request}; |
.channel_shell_request_function = shell_request}; |
| 89 |
|
|
| 90 |
static ssh_channel new_session_channel(ssh_session session, void *userdata) |
static ssh_channel channel_open(ssh_session session, void *userdata) |
| 91 |
{ |
{ |
| 92 |
(void)session; |
(void)session; |
| 93 |
(void)userdata; |
(void)userdata; |
| 112 |
struct ssh_server_callbacks_struct cb = { |
struct ssh_server_callbacks_struct cb = { |
| 113 |
.userdata = NULL, |
.userdata = NULL, |
| 114 |
.auth_password_function = auth_password, |
.auth_password_function = auth_password, |
| 115 |
.channel_open_request_session_function = new_session_channel}; |
.channel_open_request_session_function = channel_open}; |
| 116 |
|
|
| 117 |
long int ssh_timeout = 0; |
long int ssh_timeout = 0; |
| 118 |
|
|