I'm working with two embedded boards on my Linux machine. For one of them, I am able to connect to it through
ssh on port 22 with no problems. But when I try to connect to another one on port 22, it gives me
Connect to host port 22: connection refused
It's very weird because I am able to connect to one board but not the other. And since I'm able to connect to one, I know there are no problems with ssh, or any firewall or iptables problems.
Does anyone know through this little information what might be the problem?
For further information, I am nevertheless able to ping to the device which is refusing the connection.