https://docs.sprites.dev/working-with-sprites/
My desktop is an Ubuntu linux mahcine. My sprite was created this morning.
First of all, I had to add '-s ' to many of the commands in the doc page above. Then I tried:
sprite exec mkdir -p .ssh
cat ~/.ssh/id_*.pub | sprite exec -s <myspritename> tee -a .ssh/authorized_keys
Output:
zundel@pardes01:/tmp/sprite-mount $ cat ~/.ssh/id_*.pub | sprite exec -s dailyspaceimage-dev-tmpl tee -a .ssh/authorized_keys
Error: unknown shorthand flag: 'a' in -a
Usage: sprite exec [flags] <command> [args...]
It looks like 'sprite' is trying to consume the arguments on the command line intended to be passed to the remote machine? The 'tee -a' argument works for me both locally and remotely.
To workaround, I just copied over my authorized keys to ~/.ssh/authorized_keys on the sprite by hand.
https://docs.sprites.dev/working-with-sprites/
My desktop is an Ubuntu linux mahcine. My sprite was created this morning.
First of all, I had to add '-s ' to many of the commands in the doc page above. Then I tried:
Output:
It looks like 'sprite' is trying to consume the arguments on the command line intended to be passed to the remote machine? The 'tee -a' argument works for me both locally and remotely.
To workaround, I just copied over my authorized keys to ~/.ssh/authorized_keys on the sprite by hand.