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 firstname.lastname@example.org
ssh: connect to host 1223xxxx.ru port 22: Connection refused
- Firewall settings checked
- Ping 1223xxxx.ru possible by both Wi-Fi and Ethernet