What I am trying to do is to ssh to VMs installed using libvirt from precise/ quantal hosts. I have updated the steps to be clearer.
I am able to ssh to a VM with 20121108.2 i386 raring image installed using libvirt without any issues . 'ssh ubuntu@ubuntu-virtual-machine' connects fine to this machine without any issues from my quantal host. But a VM installed with today's image (20121128) on the same host, same libvirt is not connecting in a similar way. It was attempted to add .local since the output of hostname -A did not match to the entries in /etc/hosts and /etc/hostname. ( I had to change the entries to match them, purge openssh-server, reboot the VM, install openssh-server again and then reboot the VM in order to make my ssh from the same host to work and I did NOT have to do all these things for the VM with the old image said above (20121108.2). I think that indicates a regression. ** Changed in: network-manager (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/1084064 Title: Can not ssh to raring VM's using hostname Status in “network-manager” package in Ubuntu: Confirmed Bug description: It is impossible to ssh to a raring desktop vm using the hostname except the ip. It is required to manually edit /etc/hostname and /etc/hosts to include the domain name (.local) inorder for the ssh connection using the hostname to succeede. 1. Install raring desktop vm using libvirt on a precise or quantal host (20121128-amd64) 2. Install openssh-server on the vm 3. ssh to the vm from the host using the hostname (attempting with .local and without .local fails) ProblemType: Bug DistroRelease: Ubuntu 13.04 Package: network-manager 0.9.6.0+git201211131441.e9e2c56-0ubuntu2 ProcVersionSignature: Ubuntu 3.7.0-4.12-generic 3.7.0-rc7 Uname: Linux 3.7.0-4-generic x86_64 ApportVersion: 2.6.2-0ubuntu5 Architecture: amd64 CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found. Date: Wed Nov 28 12:45:54 2012 IfupdownConfig: # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback InstallationDate: Installed on 2012-11-28 (0 days ago) InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20121128) IpRoute: default via 192.168.122.1 dev eth0 proto static 169.254.0.0/16 dev eth0 scope link metric 1000 192.168.122.0/24 dev eth0 proto kernel scope link src 192.168.122.197 metric 1 IwConfig: eth0 no wireless extensions. lo no wireless extensions. MarkForUpload: True NetworkManager.state: [main] NetworkingEnabled=true WirelessEnabled=true WWANEnabled=true WimaxEnabled=true RfKill: SourcePackage: network-manager UpgradeStatus: No upgrade log present (probably fresh install) nmcli-con: NAME UUID TYPE TIMESTAMP TIMESTAMP-REAL AUTOCONNECT READONLY DBUS-PATH Wired connection 1 0310d219-ab38-445f-8771-fdd7cad7392a 802-3-ethernet 1354106562 Wed 28 Nov 2012 12:42:42 GMT yes no /org/freedesktop/NetworkManager/Settings/0 nmcli-dev: DEVICE TYPE STATE DBUS-PATH eth0 802-3-ethernet connected /org/freedesktop/NetworkManager/Devices/0 nmcli-nm: RUNNING VERSION STATE NET-ENABLED WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN running 0.9.7.0 connected enabled enabled enabled enabled disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1084064/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp