AbstractClientChannel channel = (AbstractClientChannel) getChannel(buffer);
log.info("Received SSH_MSG_CHANNEL_OPEN_CONFIRMATION on channel {}", channel.getId());
int recipient = buffer.getInt();
int rwsize = buffer.getInt();
int rmpsize = buffer.getInt();
channel.internalOpenSuccess(recipient, rwsize, rmpsize);
}
private void channelOpenFailure(Buffer buffer) throws IOException {
AbstractClientChannel channel = (AbstractClientChannel) getChannel(buffer);
log.info("Received SSH_MSG_CHANNEL_OPEN_FAILURE on channel {}", channel.getId());