[libvirt] xen+ssh

Daniel P. Berrange berrange at redhat.com
Mon Oct 20 08:26:48 UTC 2008


On Sun, Oct 19, 2008 at 08:14:30PM -0500, deface wrote:
> Trying to connect to remote host via ssh. keys work fine but get this
> 
> --
> *Trace - *
> Unable to open connection to hypervisor URI 
> 'xen+ssh://root@remote.boxdomain.com/':
> <class 'libvirt.libvirtError'> virConnectOpenAuth() failed socket closed 
> unexpectedly
> Traceback (most recent call last):
>  File "/usr/share/virt-manager/virtManager/connection.py", line 430, in 
> _open_thread
>    None], flags)
>  File "/usr/lib/python2.5/site-packages/libvirt.py", line 98, in openAuth
>    if ret is None:raise libvirtError('virConnectOpenAuth() failed')
> libvirtError: virConnectOpenAuth() failed socket closed unexpectedly
> 
> *Remote Log - *
> Oct 19 20:12:09 zeus sshd[1332]: Accepted publickey for root from 
> x.x.x.x port 52555 ssh2
> Oct 19 20:12:10 zeus sshd[1336]: pam_unix(sshd:session): session opened 
> for user root by (uid=0)
> 
> not sure where to go - any way to enable verbose/debug logging?

This usually means that you don't have 'nc'  (aka netcat) installed
on the remote host, or that the 'libvirtd' daemon is not running.

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list