I managed to connect to my Pi from outside my house with MobaXterm (http://mobaxterm.mobatek.net
). In case it could be useful to other people, here is the short procedure I followed:
Performed a "ip address show" command on my Pi to know its IP address:
I obtained "inet 192.168.2.36/24", which means my Pi address is "192.168.2.36".
Went to http://whatismyipaddress.com/
to know my public IP address (the address from which my house can be reached from the internet):
Let's assume I obtained "220.127.116.11"
Added a new "Port forwarding" in my internet router configured like this:
port "22" from the internet is forwarded to "192.168.2.36" on port "22"
It means that when someone from outside my house connects to my internet router on port 22 (SSH), its connection is redirected to my Pi on port 22 (SSH).
Downloaded MobaXterm Home Edition here: http://mobaxterm.mobatek.net/download-home-edition.html
and installed it.
Launched MobaXterm on my laptop connected to a Wifi hotspot outside my house
Created a new SSH session with the following parameter:
- Remote host: <my_internet_router_public_IP_address> ("18.104.22.168" in my case)
- Remote environment: "LXDE desktop"
...and I left all the other settings as-is.
That's all: after pressing OK and entering my Pi password, I was able to remotely connect to my Raspberry Pi desktop through a secure, encrypted SSH connection!
I hope this short explanation will help other people to perform remote connections to their Raspberry Pi!