private void validateRemote(ParameterMap map, String nodehost) throws
CommandValidationException {
// guaranteed to either get a valid type -- or a CommandValidationException
RemoteType type = parseType(map);
if (type == RemoteType.SSH)
validateSsh(map, nodehost);
// bn: shouldn't this be something more sophisticated than just the standard string?!?