| 149 | | ''In control node'' |
| 150 | | |
| 151 | | {{{ |
| 152 | | cat /home/ubuntu/.ssh/id_rsa.pub |
| 153 | | }}} |
| 154 | | |
| 155 | | Copy the ssh keys (the output of the above command) generated on the master node, paste and save it in the authorized_keys file on both managed nodes. |
| 156 | | |
| 157 | | {{{ |
| 158 | | nano /home/node/.ssh/authorized_keys |
| | 143 | {{{ |
| | 144 | cat /home/docker/.ssh/id_rsa.pub |
| | 145 | }}} |
| | 146 | |
| | 147 | Copy the ssh keys (the output of the above command) generated on the control node, paste and save it in the authorized_keys file on both managed nodes. |
| | 148 | |
| | 149 | {{{ |
| | 150 | nano /home/docker/.ssh/authorized_keys |
| | 151 | }}} |
| | 152 | |
| | 153 | Verify passwordless ssh from control node to other nodes. |
| | 154 | |
| | 155 | |
| | 156 | {{{ |
| | 157 | ssh docker@<managed node internal network IP address> |