Can not ssh to raring VM's using hostname
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Fix Released
|
High
|
Mathieu Trudel-Lapierre |
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+
ProcVersionSign
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.
[main]
NetworkingEnab
WirelessEnable
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-
nmcli-dev:
DEVICE TYPE STATE DBUS-PATH
eth0 802-3-ethernet connected /org/freedeskto
nmcli-nm:
RUNNING VERSION STATE NET-ENABLED WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN
running 0.9.7.0 connected enabled enabled enabled enabled disabled
Related branches
summary: |
- hostname of raring desktop vm does not match the entries in - /etc/hostname & /etc/hosts + Can not ssh to raring VM's using hostname |
tags: | added: rls-r-incoming |
description: | updated |
Logs related to avahi-daemon using the host name with (.local) domain name is attached
ubuntu@ ubuntu2- virtual- machine: /var/log$ cat syslog | grep '\.local' virtual- machine avahi-daemon[643]: Server startup complete. Host name is ubuntu2- virtual- machine. local. Local service cookie is 4005645905.
Nov 28 12:37:36 ubuntu2-