On the client:

1. remotely connect above server witch tcp transports
# virsh -c qemu+tcp://<ip>:16510/system

(II) Negative

EXAM1:

1. stop libvirtd service on the remote server
# service libvirtd stop

2. connect remote server from client
# virsh -c qemu+ssh://<ip>/system

EXAM2:

1. Disable ssh root login on the server

appending "PermitRootLogin = no" into /etc/ssh/sshd_config and restart sshd 
service on the server

2. Remotely connect server with ssh transports from libvirt client

# virsh -c qemu+ssh://<ip>/system


There are many test cases can be designed for remote access, it will be huge 
work for us, so we also may
do it later if you want, I think it should be okay if your patches series just 
focus basic connect operations,
but considering future case extension, we shouldn't hard cord transports to 
'ssh'.

Yes, agree!

A flexible transport will be more helpful for future extension and maintaining.

--
Best Regards
Yu Mingfei

_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel

Reply via email to