Skip to content

Commit

Permalink
make solution of 1.2 more clear (hopefully) (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
ombre8 authored Sep 4, 2023
1 parent 7900ba6 commit 6b99454
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions content/en/docs/01/_index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,6 @@ ssh-copy-id <node-ip>

Follow the prompt and enter the `ansible` user password you received from your instructor:

{{% alert title="Note" color="primary" %}}
Don’t forget your controller and the second node.
{{% /alert %}}

```bash
usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/ansible/.ssh/id_rsa.pub"
The authenticity of host '5.102.146.128 (5.102.146.128)' can't be established.
Expand All @@ -119,11 +115,13 @@ Now try logging into the machine, with: "ssh '5.102.146.128'"
and check to make sure that only the key(s) you wanted were added.
```

Test it by running the SSH command executed on that node:
Test it by running the SSH command executed on that node and make sure you're not prompted for a pasword:
```bash
ssh <node-ip> hostname
[yourusernamehere]-node1
ssh <node-ip>
```
{{% alert title="Note" color="primary" %}}
Don’t forget your controller and the second node.
{{% /alert %}}
{{% /details %}}

### Task 3
Expand Down

0 comments on commit 6b99454

Please sign in to comment.