← All Kali Issues
SSH
Connection refused port 22
N Network
High
🔴 Error Message
ssh: connect to host: Connection refused
📖 What This Means
SSH server not running or port blocked.
🔧 Step-by-Step Fix
- Start SSH: sudo systemctl start ssh
- Enable: sudo systemctl enable ssh
- Check port: sudo ss -tlnp | grep 22
- Generate keys: sudo ssh-keygen -A