[Bug 3187] New: 'unknown error' reported on local network if internet not available

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Jun 26 03:46:27 AEST 2020


https://bugzilla.mindrot.org/show_bug.cgi?id=3187

            Bug ID: 3187
           Summary: 'unknown error' reported on local network if internet
                    not available
           Product: Portable OpenSSH
           Version: 8.3p1
          Hardware: 68k
                OS: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: cjames at emolecules.com

I'm running a VirtualBox on a Mac (Catalina) which listens on
192.168.77.6. Normally "ssh user at 192.168.77.6" works. "ssh
user at host.domain.com" also works, where "host.domain.com" is defined in
/etc/hosts as 192.168.77.6. Now turn off WiFi so there's no internet
connectivity. The first command, "ssh user at 192.168.77.6" still works.
But "ssh user at host.domain.com" fails with the message "ssh: connect to
host hostname.domain.com port 22: Undefined error: 0". If I then turn
on networking via BlueTooth through an iPhone (172.20.10.5), ssh works
again. It feels like a DNS problem: DNS fails, and rather than
continuing to use /etc/hosts, it just gives an error. This makes it
impossible to use ssh for local networks when the Mac has no internet
available.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list