Trim SSH hostname to only the hostname portion (strip out any `user@` prefix, if present).