Re: ssh from host to guest on default network

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

 



Neil, thank you for the suggestion.

Actually, I was able to get this working using dnsmasq (rather than avahi).
The trick was to manually add the ipaddress for the virtual network (e.g.
192.168.122.1) as the first nameserver listed in /etc/resolv.conf on the
host machine. 

This solution has less overhead than using avahi since it doesn't require
additional software on the client.

Thanks again for the assistance.
Kay

-----Original Message-----
From: libvir-list-bounces@xxxxxxxxxx [mailto:libvir-list-bounces@xxxxxxxxxx]
On Behalf Of Neil Wilson
Sent: Tuesday, May 31, 2011 6:06 AM
To: libvir-list@xxxxxxxxxx
Subject: Re:  ssh from host to guest on default network


> Message: 1
> Date: Mon, 30 May 2011 20:28:42 -0700
> From: Kay Williams <Kay@xxxxxxxxxxxxxxx>
> To: "libvir-list@xxxxxxxxxx" <libvir-list@xxxxxxxxxx>
> Subject:  ssh from host to guest on default network
> Message-ID:
> 	<3527434A537F2F42A53BAA31DC03BB6A4A52040D70@xxxxxxxxxxxxxxxxxxxx>
> Content-Type: text/plain; charset="us-ascii"
> 
> Hello,
> 

> The trouble I am having is with ssh'ing from the host to guest machine.

Probably more for the user list than this one. However...

I've used 'avahi' successfully to get resolution in the clients. It
implements the 'Bonjour' no configuration system. Obviously the client
image has to have the avahi daemons installed and correctly configured.

Once you have that working in the client and the correct settings in
your resolver on the host, then you can ssh into 'xyz.local' and it
resolves nicely.

Rgs

Neil



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

--
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]