'The other side is closing its end; it does not want to receive any
more data.  Payload::
uint32  local channel number
Notify the channnel by calling its closeReceived() method.  If
the channel has also sent a close message, call self.channelClosed().'

def ssh_CHANNEL_CLOSE(self, packet):

    localChannel = struct.unpack('>L', packet[:4])[0]
    channel = self.channels[localChannel]
    log.callWithLogger(channel, channel.closeReceived)
    channel.remoteClosed = True
    if (channel.localClosed and channel.remoteClosed):
        self.channelClosed(channel)
