1

I am having the exact reverse of the problem described here:Cannot SSH to Raspberry Pi via WiFi only

I am able to ssh into the raspberry pi via wifi but not via ethernet. The error message returned is:

ssh: connect to host re.local port 22: Connection refused

I can ping the ip address.

What can I do to resolve the issue?

  • Do you connect by specifying an IP or domain name? Maybe you configured sshd on raspberry to listen to specific IPs? – Osman-pasha Mar 4 '15 at 6:37
  • nano /etc/ssh/sshd_config and check if ListenAddress 0.0.0.0 is maybe on your wifi ip – Joe Platano Mar 4 '15 at 11:45
1

Try running "ssh -v user@youriphere". The "-v" stands for verbose output and will tell you a lot more about where the problem is. Post the results here, and you may want to include the contents of your /etc/network/interfaces.

0

I was having the same problem then I found this tutorial: http://blogs.arcsoftwareconsultancy.com/pi/2013/03/07/windows-networking/ I followed all the steps and I can now do network and ssh.

0

For me it was a silly issue.. I was on 2 different networks.

Issue the command ifconfig and inspect the assigned IP values.

Then proceed as I did with a face-palm.. :)

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.