sock_out
void sock_out(void *);
sock_out,
int sock_in = -1, sock_out = -1, rexeced_flag = 0;
sock_out = dup(STDOUT_FILENO);
sock_in = sock_out = dup(STDIN_FILENO);
debug("network sockets: %d, %d", sock_in, sock_out);
if ((ssh = ssh_packet_set_connection(NULL, sock_in, sock_out)) == NULL)
FD_CLOSEONEXEC(sock_out);
sock_out = dup(STDOUT_FILENO);
sock_in = sock_out = dup(STDIN_FILENO);
debug("network sockets: %d, %d", sock_in, sock_out);
FD_CLOSEONEXEC(sock_out);
if ((ssh = ssh_packet_set_connection(NULL, sock_in, sock_out)) == NULL)
int sock_in = -1, sock_out = -1, rexeced_flag = 0, have_key = 0;
*sock_out = *newsock;
*sock_out = *newsock;
int sock_in = -1, sock_out = -1, newsock = -1, rexec_argc = 0;
server_accept_loop(&sock_in, &sock_out,
sock_in, sock_out, newsock, config_s[0], config_s[1]);
server_accept_loop(int *sock_in, int *sock_out, int *newsock, int *config_s,