I cannot find how to ssh into raspberry pi from the outside network. I have set up port forwarding, on port 80
for my raspberry pi. I have used https://httpbin.org/ip to obtain the ip address of my computer. I have used DHCP to bind the MAC of my raspberrypi to a particular IP on my localhost, suppose it is: 192.168.0.111
.
When I access it locally, it is simply like: ssh [email protected]
and that is it. But how would I do it from outside network? How would I remotely ssh into it now? The following does not work:
ssh pi@<myip> -p 80
so if the ip from httpbin.org is 10.20.30.222, then I would do:
ssh [email protected] -p 80
It feels as if I'm not using the piece of information that is the highlighted part here: 192.168.0.111. Can someone please help me with the right syntax?
Thanks
ssh [email protected] -p 80
. If it doesn't works, something is wrong with port forwarding.