Skip to content
Snippets Groups Projects
Unverified Commit 352b9278 authored by Boris Boutillier's avatar Boris Boutillier Committed by GitHub
Browse files

Fix SSH commands after issues founf in testing (#286)


Signed-off-by: default avatarBoris Boutillier <boris.boutillier@gmail.com>
parent 0e0a21b0
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment