I am trying to use resin snyc in order to sync local changes to the container.
I have added the ssh keys (RSA) in the dashboard, and did
resin login
When I try resin ssh
I can successfully ssh into my device, which I believe the SSH keys have been successfully added.
However, when I try to sync using the following command, I get a public key error.
$ sudo resin sync -s . -d /usr/catkin_ws/src
Getting information for device: 4baa6ee5a25625117912cbe7a766239c
Got application container info.
\ Syncing to /usr/catkin_ws/src on 4baa6ee...Permission denied (publickey).
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(226) [sender=3.1.1]
Synced /usr/catkin_ws/src on 4baa6ee.
Application container started after failed 'sync'.
resin sync failed. Error: Child process exited with code 255
Child process exited with code 255
If you need help, don't hesitate in contacting us at:
GitHub: https://github.com/resin-io/resin-cli/issues/new
Forums: https://forums.balena.io
Is there an additional process required in order to use resin sync that is not documented?
Thank you in advance,