Last updated：2020-05-08 22:30:38
In addition to performing KMR cluster and job operations through the console, you can also access to the cluster, perform management tasks or monitor the status of the cluster through SSH.
Before starting the connection, please make sure that the cluster is bound to EIP, and correct firewall rules have been set for the master node (blocking the access from public network by default). Please refer to Kingsoft Cloud official documentation: Firewall Configuration.
KMR cluster supports only SSH key authentication. Before you use SSH, you need to add SSH key for the cluster.
Generate SSH-2 RSA keys with the key generation tool, and save private and public keys
A Windows user can use PuTTYgen.exe tool to generate keys.
A Linux user can use ssh-keygen –t rsa to generate. By default, keys are generated under ~/.ssh/ directory, and public keys are stored in the file ~/.ssh/id_rsa.pub. With ssh-keygen, the user can specify the public key directory by itself.
Select the key created and click “Load to Cluster” button to load the key into the cluster. You can load the key to multiple clusters at the same time. Now, the key has been loaded.
Did you find the above information helpful?
Please give us your feedback.
Thank you for your feedback.