libvirt/tests/qemunbdkitdata/disk-network-ssh.args.disk2
Jonathon Jongsma 68599168ea qemu: implement keyfile auth for ssh disks with nbdkit
For ssh disks that are served by nbdkit, we can support logging in with
an ssh key file. Pass the path to the configured key file and the
username to the nbdkit process.

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
2023-09-19 14:28:50 -05:00

10 lines
205 B
Plaintext

nbdkit \
--unix /tmp/statedir-2/nbdkit-test-disk-2.socket \
--foreground ssh \
host=example.org \
port=2222 \
path=test2.img \
identity=/path/to/id_rsa \
user=myuser \
known-hosts=/path/to/ssh_known_hosts