From bc785473ebbe5fb4d5922659e1219b3066b9db16 Mon Sep 17 00:00:00 2001 From: Fabian Date: Fri, 12 Jan 2018 16:37:19 +0100 Subject: [PATCH] Updated OTA over SCP (markdown) --- OTA-over-SCP.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/OTA-over-SCP.md b/OTA-over-SCP.md index fef9f736..36cf1085 100644 --- a/OTA-over-SCP.md +++ b/OTA-over-SCP.md @@ -18,13 +18,17 @@ On a linux client machine type the following to generate the key: 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 -`` +``` 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` +``` +sudo /etc/init.d/ssh restart +``` Easy compilation and upload can be performed from the icons at the laft side of the PlatformIO screen or use Ctrl + Alt + U to upload (will build if needed).