mirror of https://github.com/arendst/Tasmota.git
Updated OTA over SCP (markdown)
parent
ddf5dcac72
commit
5c89d038aa
|
@ -4,7 +4,7 @@ How to setup and configure "OTA over SCP" upload for PlatformIO. The uploader pu
|
||||||
To upload .bin images to OTA server using SCP, edit the following lines under target environment:
|
To upload .bin images to OTA server using SCP, edit the following lines under target environment:
|
||||||
```
|
```
|
||||||
; *** Upload file to OTA server using SCP
|
; *** Upload file to OTA server using SCP
|
||||||
upload_port = user@host:/path
|
upload_port = USER@HOST:/path
|
||||||
extra_scripts = pio/sftp-uploader.py
|
extra_scripts = pio/sftp-uploader.py
|
||||||
```
|
```
|
||||||
upload_port should be modified to reflect user, host and path on the host where images should be uploaded.
|
upload_port should be modified to reflect user, host and path on the host where images should be uploaded.
|
||||||
|
@ -17,7 +17,7 @@ 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@IPADRESS`
|
`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`
|
||||||
|
|
Loading…
Reference in New Issue