Re: KVM/QEMU remote connection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux