connect virtualization fedora server from ubuntu client

I was trying to access Fedora Virtualization server with qmeu+ssh from Ubuntu client

Server: Fedora 15 (running libvirtd)

Client: virt-manager connect with Server

1) install virt-manager to client

2)  Add connection  (File->Add Connection)

3)  Select ‘connect to Remote Host’ and select ssh with host IP or Address

if you get error like

Unable to open a connection to the libvirt management daemon.

Libvirt URI is: qemu+ssh://root@XX.XX.XX.XX/???

Verify that:
 – The ‘libvirt-bin’ package is installed
 – The ‘libvirtd’ daemon has been started
 – That you have access to ‘/var/run/libvirt/libvirt-sock’

then try following workaround:

ssh-copy-id -i /home/USER/.ssh/id_rsa.pub root@XX.XX.XX.XX

(you may need to create Key with ssh-keygen -t rsa)

 

After doing this you need to DELETE old connection (virt-manager) and Add connection, otherwise it will not work

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s