Raspberry Pi ssh connection error
10 views (last 30 days)
I have setup both my host computer ethernet and the raspberry pi.
I can connect to raspberry pi from host computer via ssh when using putty with no problem.
However neither simulink nor matlab command window can connect. this error comes up:
SSH connection to host 169.254.0.2 failed:
FATAL ERROR: Network error: Connection refused
In the troubleshooting it says to check ip address and password. these must be correct as I use the same with putty.
What could be the problem here?
Murat Belge on 8 Sep 2014
From the error message you are getting, Connection Refused, the Raspberry Pi is there but for some reason refusing the SSH connection request. Try to reset you board and see if you can connect. You may need to login to your Raspberry Pi using a monitor and a keyboard and try to see why SSH server is refusing a connection.
Dennis McLeod on 31 Jan 2015
In general only two conditions cause this error:
1. the SSH server is not running on you Raspberry PI. 2. Port 22 used by SSH is being blocked by a firewall,