Red Hat Bugzilla – Bug 510398
Should not need to input password again when runing a vm in remote connection.
Last modified: 2009-12-14 16:19:40 EST
Created attachment 351011 [details]
Description of problem:
I have a remote connection in my Virtual Machine Manager, and it's disconnected. When I want to connect it, I must input the password of the remote Virtual Machine Manager. There are some vms in remote virtual machine and their status are Shutoff. But, When I right-click a vm and run it, I am required to input password again. It's unsuitable.
Version-Release number of selected component (if applicable):
# rpm -qa | grep -E "libvirt |virt-manager|xen"
Steps to Reproduce:
1.Add a remote connection, and ensure there're at least one vm in the remote connection
2.Make the vm in the remote connection to be shutoff
3.Make the remote connection's status to be disconnection
4.connect the remote connection.
5.Run the vm in the remote connection
After step4, a window pops up, requesting a password.
After step5, the window pops up again, requesting a password for the second times.
After step4, you need input the password of the remote connection.
After step5, the vm will run successfully without any password input request.
Thanks for the report.
I assume you are using an SSH connection? If so, this is NOTABUG. We can't cache the user's SSH password to prevent the prompt from popping up multiple times. The only supportable solution is to SSH keys, or some other auth that can handle this like SASL.
Using plain SSH without keys is fine for testing, but not recommended for production use.