aztk/spark/client/cluster/operations.py
def ssh_into_master(self, id, username, ssh_key=None, password=None, port_forward_list=None, internal=False):
        """Open an SSH tunnel to the Spark master node and forward the specified ports

        Args:
            id (:obj:`str`): the id of the cluster
            username (:obj:`str`): the name of the user to open the ssh session with
            ssh_key (:obj:`str`, optional): the ssh_key to authenticate the ssh user with.
                Must specify either `ssh_key` or `password`.
            password (:obj:`str`, optional): the password to authenticate the ssh user with.
                Must specify either `password` or `ssh_key`.
            port_forward_list (:obj:`aztk.spark.models.PortForwardingSpecification`, optional):
                List of the ports to forward.
            internal (:obj:`str`, optional): if True, this will connect to the node using its internal IP.
                Only use this if running within the same VNET as the cluster. Defaults to False.
        """
        return ssh_into_master.ssh_into_master(self, self._core_cluster_operations, id, username, ssh_key, password,
                                               port_forward_list, internal)
Open an SSH tunnel to the Spark master node and forward the specified ports

        Args:
            id (:obj:`str`): the id of the cluster
            username (:obj:`str`): the name of the user to open the ssh session with
            ssh_key (:obj:`str`, optional): the ssh_key to authenticate the ssh user with.
                Must specify either `ssh_key` or `password`.
            password (:obj:`str`, optional): the password to authenticate the ssh user with.
                Must specify either `password` or `ssh_key`.
            port_forward_list (:obj:`aztk.spark.models.PortForwardingSpecification`, optional):
                List of the ports to forward.
            internal (:obj:`str`, optional): if True, this will connect to the node using its internal IP.
                Only use this if running within the same VNET as the cluster. Defaults to False.
        
Open an SSH tunnel to the Spark master node and forward the specified ports
Open an SSH tunnel to the Spark master node and forward the specified ports
def ssh_into_master(self, id, username, ssh_key=None, password=None, port_forward_list=None, internal=False):
        return ssh_into_master.ssh_into_master(self, self._core_cluster_operations, id, username, ssh_key, password,
                                               port_forward_list, internal)
def ssh_into_master ( self , id , username , ssh_key = None , password = None , port_forward_list = None , internal = False ) : return ssh_into_master . ssh_into_master ( self , self . _core_cluster_operations , id , username , ssh_key , password , port_forward_list , internal )
Open an SSH tunnel to the Spark master node and forward the specified ports
Open an SSH tunnel to the Spark master node and forward the specified ports
"""Open an SSH tunnel to the Spark master node and forward the specified ports

        Args:
            id (:obj:`str`): the id of the cluster
            username (:obj:`str`): the name of the user to open the ssh session with
            ssh_key (:obj:`str`, optional): the ssh_key to authenticate the ssh user with.
                Must specify either `ssh_key` or `password`.
            password (:obj:`str`, optional): the password to authenticate the ssh user with.
                Must specify either `password` or `ssh_key`.
            port_forward_list (:obj:`aztk.spark.models.PortForwardingSpecification`, optional):
                List of the ports to forward.
            internal (:obj:`str`, optional): if True, this will connect to the node using its internal IP.
                Only use this if running within the same VNET as the cluster. Defaults to False.
        """
self
id
username
ssh_key
password
port_forward_list
internal
id (
`str`): the id of the cluster
` str ` ) : the id of the cluster
username (
`str`): the name of the user to open the ssh session with
` str ` ) : the name of the user to open the ssh session with
ssh_key (
`str`, optional): the ssh_key to authenticate the ssh user with.
Must specify either `ssh_key` or `password`.
` str ` optional ) : the ssh_key to authenticate the ssh user with . Must specify either ` ssh_key ` or ` password ` .
password (
`str`, optional): the password to authenticate the ssh user with.
Must specify either `password` or `ssh_key`.
` str ` optional ) : the password to authenticate the ssh user with . Must specify either ` password ` or ` ssh_key ` .
port_forward_list (
`aztk.spark.models.PortForwardingSpecification`, optional):
List of the ports to forward.
` aztk . spark . models . PortForwardingSpecification ` optional ) : List of the ports to forward .
internal (
`str`, optional): if True, this will connect to the node using its internal IP.
Only use this if running within the same VNET as the cluster. Defaults to False.
` str ` optional ) : if True this will connect to the node using its internal IP . Only use this if running within the same VNET as the cluster . Defaults to False .