Re: ssh not working with libvirt

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

 



On 01/23/2013 09:41 AM, varun bhatnagar wrote:
> Hi,
> 
> I am having issue while doing *ssh* to a virtual node through libvirt. The
> nodes's ip address is 192.168.82.1. When I am giving the command it is
> giving the following error message:
> 
> *virsh# connect vbox+ssh://192.168.82.1/session*
> *Password:*
> *error: Failed to connect to the hypervisor*
> *error: End of ifle while reading data: sh: nc: command not found:
> Input/output error.*
> 
> Can anyone tell me why am I facing this problem and how to resolve it.

What distro are you using?  Based on the error message, you don't have
nc(1) installed on the 192.168.82.1 machine.  Install that (it might be
known as netcat instead of nc), and see if your problem goes away.  At
least on Fedora, things are set up to automatically install nc as a
dependency when installing libvirtd.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]