Bug 1803765

Summary: Content to copy SSH keys can be improved
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: SATHEESARAN <sasundar>
Component: doc-Deploying_RHHIAssignee: Laura Bailey <lbailey>
Status: CLOSED CURRENTRELEASE QA Contact: SATHEESARAN <sasundar>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhhiv-1.7CC: asriram, rhs-bugs
Target Milestone: ---   
Target Release: RHHI-V 1.7.z Async Update   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-02-26 08:05:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1804071    

Description SATHEESARAN 2020-02-17 11:46:45 UTC
Description of problem:
-----------------------
Chapter-6 of deployment guide helps to set up the public key authentication ( passwordless SSH ) SSH connection

But this section starts with '6.1 - adding known hosts to first host'
This section is not required, but part of the content can be added to 6.3
section.


Expected content
-----------------
Section 6.3  Copying SSH keys

Procedure

    Log in to the first host as the root user.

    Copy your public key to all the hosts, including the same host using their front-end FQDN that you want to access.

    # ssh-copy-id -i <location>/<keyname>.pub root@<front-end-FQDN-of-self>
    # ssh-copy-id -i <location>/<keyname>.pub root@<front-end-FQDN-of-host2>
    # ssh-copy-id -i <location>/<keyname>.pub root@<front-end-FQDN-of-host3>

    Enter the password for root@<hostname> when prompted. 


    Copy your public key to all the hosts, including the same host using their front-end FQDN that you want to access.

    # ssh-copy-id -i <location>/<keyname>.pub root@<back-end-FQDN-of-self>
    # ssh-copy-id -i <location>/<keyname>.pub root@<back-end-FQDN-of-host2>
    # ssh-copy-id -i <location>/<keyname>.pub root@<back-end-FQDN-of-host3>

    Enter the password for root@<hostname> when prompted.