IBM Support

How to use key based authentication for inter-server communication without asking for a password

Question & Answer


Question

How do you use key based authentication for IBM SmartCloud Orchestrator inter-server communication without asking for a password?

Answer

Procedure:

  1. Open /etc/ssh/ssh_config

  2. Set the following parameters:
    • RSAAuthentication yes
    • HostbasedAuthentication no
    • IdentityFile ˜/.ssh/smartcloud

      Note: In the above example the key location is ˜/.ssh/smartcloud

  3. Open /etc/ssh/sshd_config

  4. Set the following parameters:
    • RSAAuthentication yes
    • PubkeyAuthentication yes
    • HostbasedAuthentication no

  5. Restart sshd service

    service sshd restart

Now the /iaas/scorchestrator/SCOrchestrator.py --status commands run without asking for a password.
[{"Product":{"code":"SS4KMC","label":"IBM SmartCloud Orchestrator"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Authentication","Platform":[{"code":"PF016","label":"Linux"}],"Version":"2.3","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

More support for:
IBM SmartCloud Orchestrator

Software version:
2.3

Operating system(s):
Linux

Document number:
267029

Modified date:
17 June 2018

UID

swg21967410