I have been facing a problem login into our server every time I switch from Wi-Fi connection to an Ethernet connection on my laptop. Using my laptop, I can easily connect via Wi-Fi but the problem begins when I try connecting the server using the Ethernet connection. Every time it shows the following error.

ssh -X xxx@1223xxxx.ru

ssh: connect to host 1223xxxx.ru port 22: Connection refused


  1. Firewall settings checked
  2. Ping 1223xxxx.ru possible by both Wi-Fi and Ethernet
New contributor
Simang Champramary is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • Try ssh -vvv xxx@1223xxxx.ru It will give you a trace of the conversation. – Stephen Boston Feb 12 at 19:01

Your Answer

Simang Champramary is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.