[libvirt-users] SSH from host to domain using hostname
Martin Kletzander
mkletzan at redhat.com
Mon Jul 17 15:18:56 UTC 2017
On Mon, Jul 17, 2017 at 02:17:12PM +0000, c.monty at web.de wrote:
>Hello!
>
>I want to SSH from host to specific guest using hostname, e.g.
>ssh <user>@<guest>
>or
>ssh test at vm02-fai
>
>ssh to guest using IP works w/o issues.
>
>I found Wiki article for "NSS module" (http://wiki.libvirt.org/page/NSS_module), but there are no results for the following commands:
>ld4004:/home # virsh net-dhcp-leases default
> Expiry Time MAC address Protocol IP address Hostname Client ID or DUID
>-------------------------------------------------------------------------------------------------------------------
>
>ld4004:/home # virsh domifaddr --source lease vm02-fai
> Name MAC address Protocol Address
>-------------------------------------------------------------------------------
>
What is the version of your libvirt?
>ld4004:/home # virsh list
> Id Name State
>----------------------------------------------------
> 1 vm02-fai running
>
Is this domain plugged into network controlled by libvirt?
>
>dnsmasq is running:
>ld4004:/home # netstat -nulpd | grep dnsmasq
>udp 0 0 192.168.33.1:53 0.0.0.0:* 10318/dnsmasq
>udp 0 0 192.168.100.1:53 0.0.0.0:* 20145/dnsmasq
>udp 0 0 0.0.0.0:67 0.0.0.0:* 20145/dnsmasq
>
Is this the dnsmasq for libvirt's network?
>
>How can I fix this issue?
>
>THX
>
>_______________________________________________
>libvirt-users mailing list
>libvirt-users at redhat.com
>https://www.redhat.com/mailman/listinfo/libvirt-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20170717/8c497790/attachment.sig>
More information about the libvirt-users
mailing list