<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>Subject correction</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Cisco Employee <<a href="mailto:sarvi@cisco.com">sarvi@cisco.com</a>><br>
<span style="font-weight:bold">Date: </span>Tue, 12 Mar 2013 21:12:05 +0000<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:libvirt-users@redhat.com">libvirt-users@redhat.com</a>" <<a href="mailto:libvirt-users@redhat.com">libvirt-users@redhat.com</a>><br>
<span style="font-weight:bold">Subject: </span>[libvirt-users] RHEL 5 libvirt client - QEMU+SSH fails with "login authentication type 2" problem<br>
</div>
<div><br>
</div>
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>
<div>Hi,</div>
<div>
<div>    I have RHEL5 libvirt client compiled at ${BSPACE}/usrcisco </div>
</div>
<div><br>
</div>
<div>This client when connecting to a libvirtd/server fails to connect as follows</div>
<div>
<div>-bash-3.2$ ${BSPACE}/usrcisco/bin/virsh -c qemu+<a href="ssh://sarvi@cnh-nehalem-1/system?socket=/var//run/libvirt/libvirt-sock">ssh://sarvi@cnh-nehalem-1/system?socket=/var//run/libvirt/libvirt-sock</a></div>
<div>error: failed to connect to the hypervisor</div>
<div>error: authentication failed: unsupported authentication type 2</div>
</div>
<div><br>
</div>
<div>    I have the libvirt client compiled and installed as follows</div>
<div>PYTHON=${BSPACE}/usrcisco/bin/python LDFLAGS="-L${BSPACE}/libnl-1.1.2/lib/ -L${BSPACE}/device-mapper.1.02.28/lib/ioctl/" CFLAGS="-I${BSPACE}/libnl-1.1.2/include -I${BSPACE}/device-mapper.1.02.28/include/" CPPFLAGS="-I${BSPACE}/device-mapper.1.02.28/include/
 -I${BSPACE}/libnl-1.1.2/include" ./configure --prefix=${BSPACE}/usrcisco --enable-static --with-libvirtd=no --with-hal=no --with-python --with-PACKAGE=yes --with-packager=no --with-packager-version=no --with-gnu-ld=no --with-apparmor=no --with-apparmor-mount=no--with-attr=no
 --with-audit=no --with-avahi=no --with-blkid=no --with-capng=no --with-curl=no --with-dbus=no --with-fuse=no --with-hal=no --with-netcf=no  --with-numactl=no  --with-openwsman=no  --with-pciaccess=no --with-sanlock=no  --with-sasl=no   --with-selinux=no  --with-selinux-mount=no
  --with-udev=no   --with-yajl=no --with-xen=no  --with-xen-inotify=no  --with-qemu=no --with-uml=no --with-openvz=no--with-vmware=no --with-phyp=no --with-xenapi=no --with-libxl=no --with-vbox=no --with-gnutls=no --without-ssh2 --with-rhel5-api=yes</div>
</div>
<div><br>
</div>
<div>The same library sources when compiled on RHEL6 as above, without specifying the "--with-rhel5-api=yes" compiles AND connect to the same server fine</div>
<div><br>
</div>
<div>I am looking for pointers as to what the problem could be OR how to trouble shoot the problem.</div>
<div>
<div><br>
</div>
</div>
<div>Thanks,</div>
<div>Sarvi</div>
</div>
</div>
_______________________________________________ libvirt-users mailing list <a href="mailto:libvirt-users@redhat.com">
libvirt-users@redhat.com</a> <a href="https://www.redhat.com/mailman/listinfo/libvirt-users">
https://www.redhat.com/mailman/listinfo/libvirt-users</a></span>
</body>
</html>