mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-05 21:01:13 +00:00
68599168ea
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>
10 lines
205 B
Plaintext
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
|