def validate_ssh_config_or_exit(): validation_errors = backend.do_validate_ssh_config() if validation_errors: print_validation_errors(validation_errors) sys.exit(1)