code: def _bridge(self, channel):
          
          channel.setblocking(False)
          channel.settimeout(0.0)
          self._tasks = [
              gevent.spawn(self._forward_inbound, channel),
              gevent.spawn(self._forward_outbound, channel)
          ]
          gevent.joinall(self._tasks)
docs: Full-duplex bridge between a websocket and a SSH channel