Check for SSH

Checks to see if kernel shmmax was set.  If set, then that means Kali
is running so it will ssh instead.  Exit sets memory back.