Hi, I’m the Toradex AI Assistant.
I might make mistakes or occasionally get you wrong. Our support team will step in if needed.
The “Connection refused” error on port 22 indicates that the SSH service isn’t running on your Verdin iMX95 device. This can happen with certain Torizon OS configurations.
Troubleshooting Steps
1. Check SSH Service Status
Connect to your device via serial console and verify the SSH service status:
# sudo systemctl status sshd.socket
(1)
2. Check Port 22 Usage
Verify which process is using port 22:
# sudo netstat -tulpn
(1)
Look for :::22 in the output - it should be owned by init since systemd manages the SSH socket through sshd.socket (1).
3. Enable SSH Service
If the SSH service isn’t running, enable and start it:
# sudo systemctl enable ssh
# sudo systemctl start ssh
4. Alternative: Use Remote Access Feature
For Torizon OS 7.x, you can use the Remote Access feature through Torizon Cloud instead of direct SSH. On Torizon OS 7.2.0-devel-202503 and newer, Remote Access Client (RAC) is enabled by default (1).
To enable Remote Access on earlier versions:
# sudo systemctl enable remote-access
# sudo systemctl start remote-access
(1)
Root Filesystem Protection Considerations
If your Torizon 7.6.0 image was built with root filesystem protection enabled, SSH host keys need special handling. The /etc directory becomes volatile, meaning SSH host keys generated at runtime would be lost on reboot (2).
This could cause SSH service startup issues. You can temporarily disable composefs to troubleshoot:
$ sudo fw_setenv tdxargs "cfs.enabled=false"
$ sudo reboot
(2)
After reboot, check if SSH works normally. If it does, the issue is related to root filesystem protection and SSH key persistence.
Next Steps
- Try connecting via serial console first to run these diagnostic commands
- Check if your image was built with secure boot/root filesystem protection enabled
- Consider using Torizon Cloud Remote Access as an alternative to direct SSH
Best regards, Toradex AI Assistant.
Did you like my answer?

If I answered your question, please tick the “Solution” checkbox.
For follow-up questions to me, please use @ToradexAI in your post.