Anaconda Enterprise: Documentation

# Using SSH to connect to nodes

To SSH to the head node in a cluster, run:

    $ adam ssh -n [cluster-name]

EXAMPLE: To SSH to the head node in a cluster named “cluster”:

    $ adam ssh -n cluster
    Last login: Wed Jun 29 03:08:49 2016 from 172.18.0.1
    [root@192.168.1.1 ~]#

To connect to a specific node, include the node number after the cluster name. Node 0 is the head node, node 1 is the first compute node, and so on.

EXAMPLE: To SSH to the second compute node in a cluster named “cluster”:

    $ adam ssh -n cluster 2
    Last login: Wed Jun 29 03:10:14 2016 from 172.18.0.1
    [root@192.168.1.3 ~]#