I couldn't always ssh
to my
iPhone from my Mac. They're both on the same wifi network but sometimes the connection is established, sometimes it failed. From my Mac:
$ ssh
[email protected]
ssh: connect
to host 192.168.0.102 port 22: Operation timed out
$ ping 192.168.0.102
PING 192.168.0.102 (192.168.0.102): 56 data bytes
ping: sendto: No route
to host
ping: sendto: Host is down
ping: sendto: Host is down
I enabled SSH on the phone and am sure it can load webpages. So what might be a reason why they cannot connect?
Thanks