def _openChannel(self, channel):
        """
        Open the channel with the default connection.
        """
        self.conn.openChannel(channel)
        self.transport.packets = self.transport.packets[:-1]
        self.conn.ssh_CHANNEL_OPEN_CONFIRMATION(struct.pack('>2L',
            channel.id, 255) + b'\x00\x02\x00\x00\x00\x00\x80\x00')

        Open the channel with the default connection.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/conch/test/test_connection.py