String sshTarget([String username = '']) => (username.isNotEmpty ? '$username@' : '') + (type == InternetAddressType.IPv6 ? '[$address]' : address);