On Wednesday, December 31, 2014 03:21:46 PM Glenn Holmer wrote:
On 12/31/2014 02:33 PM, Flavio Leitner wrote:
> On Wednesday, December 31, 2014 02:11:38 PM Glenn Holmer wrote:
>> I'm trying to connect to another machine using virt-manager (File/Add
>> Connection). I select QEMU/KVM as hypervisor, "connect to remote
host",
>> method SSH, and a username and hostname on the remote machine. The
>> result is always that I get prompted for my passphrase, but then see
>> "authentication failed: no agent is available to authenticate". I get
>> this going from either machine to the other.
>>
>> Virtualization is set up OK because I can run virtual machines on both
>> VM hosts. SSH is set up OK, I can ssh with public key in both directions
>> both as myself and as root. I tried "setenforce 0" on both machines
to
>> see if SELinux was blocking it, but the result was the same.
>>
>> What am I missing?
>
> Do you see the process ssh-agent running?
I see this on both machines:
/usr/bin/ssh-agent /bin/sh -c exec -l /bin/bash -c "/usr/bin/startkde"
Right, do you see your identity there?
$ ssh-add -l
If so, is there any chance of you are running the virt-manager out of the
established session? I'd start the virt-manager on the same shell running
the ssh-add above to confirm.
I just tried here with F21 and I could add a remote hypervisor using ssh keys.
fbl