'Creates a tunnel to the remote host
:param remote_host: Remote host to tunnel to
:type remote_host: String
:param remote_port: Remote port to tunnel to
:type remote_port: Number
:param local_port: Local port. If set to 0, random local port is selected
:type local_port: Number'

def create_tunnel(self, remote_host, remote_port, local_port=0):

    if (local_port is 0):
        local_port = self.get_available_local_port()
    with SSHTunnelForwarder((self.host, self.port), ssh_username=self.username, remote_bind_address=(remote_host, remote_port), local_bind_address=('0.0.0.0', local_port)):
        try:
            while True:
                sleep(1)
        except KeyboardInterrupt:
            pass
