tencent cloud

Feedback

Node Remote SSH

Last updated: 2023-06-01 11:36:31

    Scenario

    This article describes how to remotely log in to edge nodes via SSH in the cloud. The edge nodes can be public cloud nodes or local intranet nodes.

    Procedure

    Enable node remote login

    2. On the Cluster Management page, click the cluster ID of the node you wish to remotely log into to enter the details page for that cluster.
    3. Select Node Management > Nodes from the left-hand side of the page to enter the Nodes list page, and confirm whether the login hyperlink is displayed on the operation column. By default, the hyperlink is not displayed, as shown in the figure below:
    
    
    4. Select Basic Information from the left-hand side of the page to enter the Cluster Basic Information page, and click on the remote login switch to enable the remote login feature, as shown in the figure below:
    
    
    
    5. Return to Node Management > Nodes from the left-hand side of the page to access the Node List page again. Confirm that the login hyperlink is displayed, as shown in the figure below:

    
    
    

    Close node remote login

    2. On the Cluster Management page, click on the cluster ID of the node you wish to remotely log into to enter the details page for that cluster.
    3. Select Node Management > Nodes from the left-hand side of the page to enter the Node List page, and confirm that the login hyperlink is displayed on the operation column. As shown in the figure below:
    
    
    
    4. Select Basic Information from the left-hand side of the page to enter the Cluster Basic Information page, click on the remote login switch to disable remote login feature, as shown in the figure below:
    
    
    
    5. Return to Node Management > Nodes from the left-hand side of the page to access the Node List page again, and confirm that the login hyperlink is hidden. As shown in the figure below:
    
    
    

    Log in to the edge node remotely

    2. On the Cluster Management page, click on the cluster ID of the node you wish to remotely log into to enter the details page for that cluster.
    3. Select Node Management > Nodes from the left-hand side of the page to enter the Node List page, and confirm that the login hyperlink is displayed on the operation column. As shown in the figure below:
    
    
    
    4. On the "Node List" page, select the desired node to log in and click on "Log In". You will be redirected to the remote node login console page, as shown in the figure below:
    
    
    
    If the SSH key login is successful, you will be directed to the console page, as shown in the figure below:
    
    
    Type in a command, such as 'kubectl get node', in the console and press enter to execute. View the results of the command, as shown in the figure below:
    
    
    
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support