Guillaume, can you please look at SSHD-14? I can't quite figure out why the client is assuming that the remote channel number in a SSH_MSG_CHANNEL_OPEN_CONFIRMATION packet needs to be known on the client side, but it seems to be the case. Without the attached fix clients are outputting hideous error messages:
$ ssh -p 29418 localhost help channel_by_id: 1: bad id: channel free channel_input_success_failure: 1: unknown ... https://issues.apache.org/jira/browse/SSHD-14
