Skip to content

Conversation

@DavHau
Copy link
Contributor

@DavHau DavHau commented Mar 24, 2025

This script uses ssh to copy a custom HDZGOGGLE binary to the goggles and replace the running process with it.

This allows for rapid testing of changes, as one doesn't have to put the file on a sdcard each time.

example usage:

Usage: ./utilities/ssh-deploy.sh <host> <HDZGOGGLE_binary>

It stops the running HDZGOGGLE process, uploads the new binary to /tmp and launches it.

The goggle fs remains unmodified and after a reboot everything is back to normal.

This script uses ssh to copy a custom HDZGOGGLE binary to the goggles and replace the running process with it.

This allows for rapid testing of changes, as one doesn't have to put the file on a sdcard each time.

example usage:
```
Usage: ./utilities/ssh-deploy.sh <host> <HDZGOGGLE_binary>
```

It stops the running HDZGOGGLE process, uploads the new binary to /tmp and launches it.

The goggle fs remains unmodified and after a reboot everything is back to normal.
@SumolX
Copy link
Contributor

SumolX commented Apr 4, 2025

don't forget that you can utilize /root/.ssh/authorized_keys so you don't need to type in your password each time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants