Comment 1 for bug 1387640

Revision history for this message
Adam Collard (adam-collard) wrote : Re: Juju SCP does not allow passing of arguments to the underlying scp

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