Mailing List Archive

[Bug 3187] New: 'unknown error' reported on local network if internet not available
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@mindrot.org
Reporter: cjames@emolecules.com

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