version 1.150, 2001/11/30 20:39:28 |
version 1.151, 2001/12/19 07:18:56 |
|
|
fwd_host_port); |
fwd_host_port); |
else if (opt == 'R') |
else if (opt == 'R') |
add_remote_forward(&options, fwd_port, buf, |
add_remote_forward(&options, fwd_port, buf, |
fwd_host_port); |
fwd_host_port); |
break; |
break; |
|
|
case 'D': |
case 'D': |
|
|
channel_send_open(c->self); |
channel_send_open(c->self); |
if (!no_shell_flag) |
if (!no_shell_flag) |
channel_register_callback(c->self, |
channel_register_callback(c->self, |
SSH2_MSG_CHANNEL_OPEN_CONFIRMATION, |
SSH2_MSG_CHANNEL_OPEN_CONFIRMATION, |
ssh_session2_setup, (void *)0); |
ssh_session2_setup, (void *)0); |
|
|
return c->self; |
return c->self; |
} |
} |