I have a strange situation, my Pi is connected via an Ethernet wall port to my university's internet, and my laptop is connected to the internet via Wi-Fi.

It's set up this way because when the Pi was connected via Wi-Fi the connection kept dropping. But when I switched it to the Ethernet cable, my SSH won't connect. VNC connection still works, however.

Does anyone know why, or how to fix it?

  • 2
    Please post what ifconfig shows on the Pi and also what your laptop's IP address and subnet mask are. – HeatfanJohn Jun 16 '17 at 1:57
  • 1
    It's possible that the wired and wireless networks are on different subnets. As @HeatfanJohn said, more info is necessary. If they are on separate subnets, it's very possible that your school has SSH blocked on a firewall between the differing networks. – stevieb Jun 19 '17 at 14:09

I have a similar situation to you, mine works though I'm on a home network. I got around it by using an IP scanner to find the IP address of my Raspberry Pi (it's connected by ethernet to my router at home) and from there I used Putty as an SSH client to connect to it.

| improve this answer | |
  • The OP said "VNC connection still works, however". This means the problem is not related to not knowing the IP address. – stevieb Jun 19 '17 at 14:07
  • Ah fair enough, probably best if you see what other people say - I definitely don't know enough to help you out. Hope someone else can help you fix this situation :) – J_Sun Jun 20 '17 at 7:14

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.