How to set search domain for command line?
I've set a search domain in "System Preference" > "Network" > "Advanced" > "Search Domains". But, on the command line, it's not effective:
$ ssh myremotemachine
ssh: Could not resolve hostname myremotemachine: nodename nor servname provided, or not known
See? ssh doesn't even try to use the search domain.
MacBook Pro 13”, macOS 10.15