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: [email protected]
Reporter: [email protected]
I'm running a VirtualBox on a Mac (Catalina) which listens on
192.168.77.6. Normally "ssh [email protected]" works. "ssh
[email protected]" 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 [email protected]" still works.
But "ssh [email protected]" 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.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs