If you are determined to copy some files to dom0 anyway, you can use the following method. (If you want to copy text, first save it into a text file.) Run this command in a dom0 terminal:
qvm-run --pass-io <src-vm> 'cat /path/to/file_in_src_domain' > /path/to/file_name_in_dom0
Note that you can use the same method to copy files from dom0 to domUs (if, for some reason, you don’t want to use qvm-copy-to-vm
):
cat /path/to/file_in_dom0 | qvm-run --pass-io <dest-vm> 'cat > /path/to/file_name_in_appvm'
example case :
in vault vm i have onequbesuser.asc
the command should be :
qvm-run --pass-io vault 'cat ~/pubkey/onequbesuser.asc' > ~/onequbesuser.asc