From 589b8adcd179ddefea864b1994a7be692ab84abe Mon Sep 17 00:00:00 2001 From: Fabian Date: Fri, 12 Jan 2018 16:36:31 +0100 Subject: [PATCH] Updated OTA over SCP (markdown) --- OTA-over-SCP.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/OTA-over-SCP.md b/OTA-over-SCP.md index 74201d7e..fef9f736 100644 --- a/OTA-over-SCP.md +++ b/OTA-over-SCP.md @@ -14,10 +14,14 @@ SSH communication between the build server and OTA server should be pre-configur ## Add the pre-shared key On a linux client machine type the following to generate the key: -```ssh-keygen -t rsa -C "YOUR OWN KEY INFO"``` +``` +ssh-keygen -t rsa -C "YOUR OWN KEY INFO" +``` Press enter three times (without any input). Copy the key to your ssh server: -``ssh-copy-id -i ~/.ssh/id_rsa.pub USER@HOST`` +`` +ssh-copy-id -i ~/.ssh/id_rsa.pub USER@HOST +`` You need to confirm this action. Use your server ssh password (one last time). _Optional reload the ssh service:_ `sudo /etc/init.d/ssh restart`