Updated OTA over SCP (markdown)

Fabian 2018-01-12 16:37:19 +01:00
parent 589b8adcd1
commit bc785473eb
1 changed files with 7 additions and 3 deletions

@ -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" ssh-keygen -t rsa -C "YOUR OWN KEY INFO"
``` ```
Press enter three times (without any input). Press enter three times (without any input).
Copy the key to your ssh server: 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). You need to confirm this action. Use your server ssh password (one last time).
_Optional reload the ssh service:_ _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). 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).