Connection Issues
Common questions and answers about SSH connections.
Connection Failure
Connection timeout?
Possible reasons:
- Wrong server address or port
- Network unreachable
- Firewall restrictions
- SSH service not running
Solutions:
- Confirm server address and port
- Check network connection
- Contact server administrator
Connection refused?
Reasons:
- SSH service not running
- Port occupied or modified
- Firewall blocking
Solutions:
- Confirm SSH service status
- Check port configuration
- Check firewall rules
Host key verification failed?
Reasons:
- Server fingerprint changed
- Possible security risk
Solutions:
- Confirm server change is normal
- Delete old fingerprint
- Re-accept server fingerprint
Authentication Issues
Password authentication failed?
Check:
- Username is correct
- Password is correct
- Keyboard layout
Key authentication failed?
Check:
- Key file path
- Key passphrase
- Key format
Permission denied?
Possible reasons:
- User not allowed
- Wrong authentication method
- Server configuration
Network Issues
Connection unstable?
Possible solutions:
- Use stable network
- Adjust timeout settings
- Use keep-alive
Slow connection?
Possible solutions:
- Check network speed
- Reduce terminal output
- Disable unnecessary features
Related Documentation
- SSH Connection - SSH features
- Connection Failed - Troubleshooting guide