ash-cp - copy files between the host and a running VM
Copies a file between the host and a running ash VM. The default direction is host to guest; use --from guest for guest to host.
Pass -r or --recursive to copy a directory and its contents. Without it, directory sources are rejected by scp.
NAME selects the running VM. The transfer uses that VM's SSH user and vsock CID.
ash creates or reuses the VM's autoprovisioned SSH identity, installs it through virtle guest-exec, and transfers through OpenSSH scp over the generated SSH wrapper.
-v or --verbose prints the completed host/guest source and destination after a successful transfer.
ash cp work ./notes.txt ~/workspace/notes.txt
ash cp -r work ./src ~/workspace/src
ash cp --from guest work ~/workspace/result.txt ./result.txt
Generated from ash Cmdliner manpage metadata.