Description
The error “SSH undefined credentials” indicates that Lansweeper was unable to locate valid SSH credentials for the targeted asset or IP range. As a result, the device cannot be scanned using SSH.
Primary Cause
This error most commonly occurs when:
- No SSH credentials have been created, or
- Existing SSH credentials are not correctly mapped to the asset or IP range being scanned.
Resolution Steps
1. Verify SSH Credential Mapping
First, confirm that SSH scanning credentials exist and are properly mapped to the relevant assets or IP ranges:
Create and map scanning credentials:
https://community.lansweeper.com/t5/scanning-your-network/create-and-map-scanning-credentials/ta-p/6...
2. Confirm SSH Scanning Configuration
Ensure that SSH scanning is correctly configured for the operating system you are scanning.
Linux and Unix Systems
Review the following articles to validate requirements and configuration:
Apple macOS Systems
Review the following articles for macOS-specific requirements:
3. Consider Alternative Scanning Methods
If SSH cannot be enabled on the target devices or is not supported, you can use SNMP scanning as an alternative:
Summary
To resolve the “SSH undefined credentials” error:
- Ensure SSH credentials exist and are correctly mapped.
- Verify SSH scanning requirements and configuration for the target operating system.
- Use SNMP scanning if SSH is unavailable or unsupported.