Ssh: connect to host 192.168.1.xxx port 22: Connection refused

ssh ksa@192.168.1.211
ssh: connect to host 192.168.1.211 port 22: Connection refused

Happens when I SSH using LAN cable between 2 computers. With WiFi, everything works fine.

What can I do to make it work while using LAN cable as well ?

It was human error. I had to setup static IP on both machines. Solved.

2 Likes