/[LeafOK_CVS]/lbbs/src/test_ssh_server.c
ViewVC logotype

Diff of /lbbs/src/test_ssh_server.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.10 by sysadm, Mon Sep 22 05:06:44 2025 UTC Revision 1.11 by sysadm, Sat Oct 25 03:11:11 2025 UTC
# Line 87  struct ssh_channel_callbacks_struct chan Line 87  struct ssh_channel_callbacks_struct chan
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;
# Line 112  int ssh_server(const char *hostaddr, uns Line 112  int ssh_server(const char *hostaddr, uns
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    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1