Timeline for Can't SSH by name on stretch; can on jessie
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 28, 2018 at 14:34 | comment | added | Brian | Just for fun, I SSHed into each Pi, and from there was able to SSH by name into the other Pi using both user@name and [email protected]. That is to say, Jessie can SSH into Stretch, and vice versa. So why is the Windows PuTTY client choking on both naming conventions for Stretch, but not Jessie? Probably ought to be directed to the Windows client board, but I suppose it's of interest here (if it's reproducible), as well. | |
Jun 28, 2018 at 14:09 | comment | added | Brian | @Seamus: I am connecting to the various Pi's from a Windows 10 machine, using PuTTY 0.66. Just updated PuTTY to 0.70, 64-bit; same thing. IP addresses are not static. The DHCP server shows the correct names. The following works: [email protected] & pi@JessiePi. And these do not: [email protected] & pi@StretchPi. In the case of the failures, the message is: Unable to open connection to StretchPI.local gethostbyname: unknown error | |
Jun 28, 2018 at 13:42 | comment | added | Seamus | @Brian: Couple of questions: 1. What type of host are you using (i.e. linux, windoze, mac) to make the SSH connection to your RPi, and 2. What does your DHCP server on your home network show for the stretch and jessie RPi's? By that I mean does the DHCP server recognize them by name or just by IP? | |
Jun 28, 2018 at 13:32 | comment | added | Seamus | @Milliways: Yep, but as he had just upgraded, it seemed the most likely. | |
Jun 28, 2018 at 3:54 | comment | added | Brian | Okay, I just checked one of the offending Pi, with dpkg -l avahi-daemon, and it's indicating that it's already installed. That is, I haven't installed it using your commands above; it's already there. But, installed is not running, so I checked that, as well, with systemctl is-active avahi-daemon.service, and it's showing as active. I would suspect that something was wrong with my putty file...but it connects as it always has to the Jessie Pi. | |
Jun 28, 2018 at 0:03 | comment | added | Milliways | I am not sure mDNS is relevant to Zero-conf - NOTE there is NO NEED to install anything on Raspbian - Zero-conf as been included since 2015 | |
Jun 27, 2018 at 15:40 | history | answered | Seamus | CC BY-SA 4.0 |