If you don"t pay for a static IP address, or find yourself behind firewalls that you can"t control, this method will allow you to access SSH on your Raspberry Pi by installing client-side software to connect to a logmein hamachi network.
Step 1: Create a Logmein Account and Create a Network
First, create a logmein.com account if you haven't already, and from there, create a network.
If you want to add a smartphone or a mobile device to your network you have to use this link:
https://preview.logmein.com/ (here you can also use the actual beta-versions)
Next step is creating the network.
That's it. Now connect to your beaglebone/raspberry.
Step 2: Download and Install the Hamachi Client
Download the beta logmein hamachi .deb file. This is done via the command line easily enough with:
$ sudo wget https://secure.logmein.com/labs/logmein-hamachi_18.104.22.168-1_armhf.deb
If there is a newer version you can see it on that page:
Next step is the installation:
Install the lsb-core
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install lsb-core
Install logmein-hamachi by running:
$ sudo dpkg -i logmein-hamachi_22.214.171.124-1_armhf.deb
Configure the logmein-client
$ sudo hamachi login
$ sudo hamachi attach <INSERT YOUR LOGMEIN.COM EMAIL HERE>
$ sudo hamachi set-nick "pick something creative….perhaps beaglebone or raspy"
now take a break and go to your logmein webaccount.
Now you can add here the beaglebone/raspy to your network.
If you want to autologin at the start edit the etc/rc.local file and insert "hamachi login"