I wrap mine in bash -c 'commands'
So something like:
root@host ~ $ lxc exec container -- bash -c "ssh vps7456.ovh.net 'tar czf -
/var/www/website.com/htdocs' | tar xzpf - -C/"
Will probably work.
--Greg
On Apr 9, 2017 5:03 PM, "Ingo Baab" wrote:
Hello lxc-users,
Inside a Linuxcontainer I use
Hello lxc-users,
Inside a Linuxcontainer I use:
root@container ~ $ ssh vps270841.ovh.net tar czf -
/var/www/website.com/htdocs | tar xzpf - -C/
to get a tar archive from another remote server by ssh and extract it
inside the container, works fine.
But how can I achieve the same from the