I found an invocation which works!
juju scp -- -C 0:/var/log/syslog .
to match your example it would be
juju scp -e local -- -C 0:/etc/hosts /tmp
The help text is really not helpful here though so suggest this bug becomes a task to update it
I found an invocation which works!
juju scp -- -C 0:/var/log/syslog .
to match your example it would be
juju scp -e local -- -C 0:/etc/hosts /tmp
The help text is really not helpful here though so suggest this bug becomes a task to update it