search for: channel_open_failure

Displaying 2 results from an estimated 2 matches for "channel_open_failure".

2003 Jan 08
0
rsync over ssh: failed to connect to... after SuSE update
...do a remote-login and issue commands on the remote server. With a running ssh-connection, I tried to connect to the forwarded port with telnet and got the following results: telnet: connect to address 127.0.0.1: Connection refused (in local telnet window: when trying forwarded port 8073 -> 873) channel_open_failure: 2: reason 2 Connection refused (in remote ssh window: when trying forwarded port 5908 -> 5908) ssh-command for the connection: su - -c \ "/usr/bin/ssh -l USER1 -C -p 69 SERVER1 \ -L 5908:IP1:5908 \ -L 8073:IP2:873" where USER1 is the username for the connection (local and remote a...
2000 Aug 23
1
Protocol 2 remote forwarding patch
...t_open(int type, int plen) +{ + int remote_channel = packet_get_int(); + +#ifndef DISABLE_FORWARDING + if (!allow_port_forwarding) { +#endif + debug("Refused port forward request."); + packet_send_debug("Server configuration rejects port forwardings."); + packet_start(SSH_MSG_CHANNEL_OPEN_FAILURE); + packet_put_int(remote_channel); + packet_send(); + return; +#ifndef DISABLE_FORWARDING + } +#endif + channel_input_port_open(type, plen, remote_channel); +} + +/* Jarno: This is only a client wrapper for channel_input_port_open */ +void client_channel_input_port_open(int type, int plen) +{ +...