Skip to content

Commit

Permalink
Fix SSH commands after issues founf in testing (#286)
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Boutillier <[email protected]>
  • Loading branch information
BorisBoutillier authored May 15, 2023
1 parent 0e0a21b commit 352b927
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions SROS2_Linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,19 +126,17 @@ Let's say that the machine with the keystore created in the previous demo has a
First, we need to run the installation and compilation steps described previously on the `oldschool` machine.
Then, we need to copy some keys to `oldschool` to allow SROS 2 to authenticate and encrypt the transmissions.
Since the keys are just text files, we can use `scp` to copy them.
First, we'll create an empty keystore on `oldschool`, which is just an empty directory:
First, we'll create an empty keystore on `oldschool` with a `talker_listener` enclave directory:

```
ssh oldschool.local
mkdir -p ~/sros2_demo/demo_keystore
exit
ssh oldschool.local "mkdir -p ~/sros2_demo/demo_keystore/enclaves/talker_listener"
```

Now, we'll copy the keys/certificates for the "talker" program from `feather2` to `oldschool`:

```
cd ~/sros2_demo/demo_keystore
scp -r talker USERNAME@oldschool.local:~/sros2_demo/demo_keystore
cd ~/sros2_demo/demo_keystore/enclaves/talker_listener
scp -r talker oldschool.local:~/sros2_demo/demo_keystore/enclaves/talker_listener
```

That will be very quick, since it's just copying some very small text files.
Expand Down

0 comments on commit 352b927

Please sign in to comment.