दस्तावेज़ पर वापस
समस्या निवारण

Connection समस्याएं ठीक करें

Server Compass और आपके VPS के बीच आम SSH connection समस्याएं fix करें।

Intermediate5 min readUpdated 2024-02-01

Connection refused

कारण: SSH service नहीं चल रहा या गलत port

Solutions:

  1. Verify करें SSH चल रहा है: systemctl status sshd
  2. सही port use हो रहा है यह जाँचें
  3. Firewall SSH allow करता है verify करें: ufw status
  4. Ping से सर्वर online है check करें

Authentication failed

कारण: गलत credentials

Solutions:

  1. Username और password दोबारा जाँचें
  2. SSH keys के लिए, verify करें key सर्वर पर authorized है
  3. सर्वर पर ~/.ssh/authorized_keys check करें
  4. Account verify करने के लिए password से connect करने की कोशिश करें

Connection timeout

कारण: Network समस्याएं या firewall blocking

Solutions:

  1. अपना internet connection जाँचें
  2. Verify करें सर्वर reachable है (ping)
  3. जाँचें कि आपके network से port 22 blocked तो नहीं
  4. Verify करें server firewall आपका IP allow करता है

Host key verification failed

कारण: सर्वर की SSH key बदल गई

Solutions:

  1. अगर सर्वर reinstall हुआ है तो यह expected है
  2. Server Compass में "Accept New Key" पर क्लिक करें
  3. या ~/.ssh/known_hosts से पुरानी key हटाएं

Screenshots

Connection समस्याएं ठीक करें - Screenshot 1

Ready to try Server Compass?

Download the app and deploy your first application in under 5 minutes.

Download Server Compass