Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Deploy Dell PowerFlex v3.6.x

PDF

Using SSH authentication on the PowerFlex Gateway

Create SSH keys for servers in a new or existing PowerFlex system.

Prerequisites

Lockbox must be configured on the PowerFlex Gateway.

About this task

A manually generated public-private key pair can be used to perform SSH key authentication, instead of passwords, between the PowerFlex Gateway and PowerFlex system servers. The public key is placed on all servers that will allow access to the PowerFlex Gateway. The PowerFlex Gateway is the owner of the matching private key.

FOSGWTool is used to upload the private key to the PowerFlex Gateway. FOSGWTool is located in:

  • Linux: /opt/emc/scaleio/gateway/bin/FOSGWTool.sh
  • Windows: C:\Program Files\EMC\ScaleIO\Gateway\bin\FOSGWTool.bat
NOTE: For systems using SSH key authentication, there is no need to add node user name and password credentials to the CSV file used for system deployment.

Steps

  1. Create the private and public key pair on the node where the PowerFlex Gateway is installed:
    1. In command line, run the command:
      cd ~/.ssh/
    2. Run the command:
      ssh-keygen -t rsa
      This command generates a private and public key. When performing this command, you can add a passphrase, or generate the key without a passphrase. Two SSH keys are produced: id_rsa and id_rsa.pub.
  2. On one of the PowerFlex servers, run this command to store the public key in the authorized_keys file:
    cat ~/.ssh/id_rsa.pub | cat >> ~/.ssh/authorized_keys
  3. Copy the .ssh directory to the rest of the PowerFlex servers.
  4. Copy id_rsa.pub to the file system on the rest of the PowerFlex servers.
  5. Use FOSGWTool in command line to upload the private key to thePowerFlex Gateway:
    FOSGWTool --update_ssh_key --ssh_key <PATH_TO_SSH_KEY_FILES> [--key_passphrase <KEY_PASSPHRASE>]

    The --key_passphrase is optional. Add this if you generated it when you created the key pair. During deployment, the gateway will use the private key for authentication.

  6. Restart the PowerFlex Gateway service:
    • Windows: From the Windows Services window, restart the EMC ScaleIO Gateway.
    • Linux: Type the following command:
      service scaleio-gateway restart

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\