Connect to a Cluster Node Through Secure Shell (SSH)
To gain local access to the tools, utilities and other resources on anOracle Big Data Cloud Service cluster node, use Secure Shell (SSH) client software to establish a secure connection and log in.
Note:
By default, the port used for accessing the cluster through SSH, port 22, is open. You can control access to that and other ports by configuring the network whitelist (for clusters hosted in regions) or by configuring the firewall (for cluster hosted in availability domains). The configuration controls whether network requests from specified IP addresses (or ranges of addresses) will be accepted or denied at specified ports. See Control Network Access to Services.Several SSH clients are freely available. The following sections show how to use SSH clients on UNIX, UNIX-like, and Windows platforms to connect to a node.
The following instructions describe how to connect as the opc
user and then use the sudo
command to open a root
shell. After you do this the first time, you may choose instead to connect using a password by assigning a known password to opc
or creating another user with a known password.
Connecting to a Node By Using PuTTY on Windows
PuTTY is a freely available SSH client program for Windows.
Before You Begin
Before you use the PuTTY program to connect to a node, you need the following:
-
The IP address of the node
The IP address of the node is listed on the Cluster Details page for the cluster containing the node. To display this page, see View Details About a Cluster.
-
The SSH private key file that pairs with the public key associated with the cluster
The public key was associated with your cluster when it was created. See Create a Cluster. If you don’t have the private key that’s paired with the public key, contact your administrator.
The private key file must of the PuTTY
.ppk
format. If the private key file was originally created on the Linux platform, you can use the PuTTYgen program to convert it to the.ppk
format.For instructions on creating an SSH key pair, see Generating a Secure Shell (SSH) Public/Private Key Pair.
Procedure
Connecting to a Node By Using SSH on UNIX
UNIX and UNIX-like platforms (including Solaris and Linux) include the ssh
utility, an SSH client.
Before You Begin
Before you use the ssh
utility to connect to a node, you need the following:
-
The IP address of the node
The IP address of the node is listed on the Cluster Details page of the cluster containing the node. To display this page, see View Details About a Cluster.
-
The SSH private key file that pairs with the public key associated with the cluster
The public key was associated with your cluster when it was created. See Create a Cluster. If you don’t have the private key that’s paired with the public key, contact your administrator.
Procedure