-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Description
SSH connectivity test to migrated VMs fails after migration completes. Both publickey and password authentication methods are rejected.
Error Logs
2025-12-23T12:26:21.201960 utilities.ssh_utils INFO Attempting to establish port-forward
2025-12-23T12:26:24.203279 RemoteExecutor INFO [[email protected]/redhat] Check if address is connective via ssh in given timeout 5.0
2025-12-23T12:26:24.727933 paramiko.transport INFO Connected (version 2.0, client OpenSSH_8.0)
2025-12-23T12:26:25.458050 paramiko.transport INFO Authentication (publickey) failed.
2025-12-23T12:26:25.780275 paramiko.transport INFO Authentication (publickey) failed.
2025-12-23T12:26:29.165941 utilities.ssh_utils WARNING SSH connectivity test failed
2025-12-23T12:26:29.165168 paramiko.transport INFO Authentication (password) failed.
Analysis
- Port-forward is established successfully
- SSH connection is made (OpenSSH 8.0 detected)
- Public key authentication fails (attempted twice)
- Password authentication also fails
- The VM appears reachable but credentials are being rejected
Possible Causes
- Password not set correctly on the migrated VM
- SSH password authentication disabled in sshd_config
- Root login disabled in sshd_config
- Cloud-init password not applied correctly
- SELinux or security policies blocking authentication
Environment
- Source: VMware vSphere
- Destination: OpenShift Virtualization (CNV)
- SSH via: virtctl port-forward
Steps to Reproduce
- Migrate a VM from VMware to OpenShift
- Attempt SSH connection using the test framework
- Observe authentication failures
Metadata
Metadata
Assignees
Labels
No labels