Properly handle ssh commands that don't specify a hostname.