SSH to computer with shared public IP and no admin rights over the router

Solution 1:

If you have access to another Linux box, out on the Internet, then you can connect from your dorm to it, and set up a reverse ssh tunnel. Then, when you leave your dorm, connect to that box and tunnel back through to your dorm machine.

You might need a cheap shell account somewhere, or get a friend to hook you up with an account on their box. Or maybe you have a shell account with your school that you can use for this.

In order to keep the ssh tunnel alive, refer to this question.

Solution 2:

The real answer is to ask the local network administrators for help, rather than attempting to work around the restrictions that they have placed on the network.

Solution 3:

If you don't have control over the "router" (really a NAT box), then if it's setup to respect UPnP requests, perhaps you can use that to tell it to open an incoming port for you.

Otherwise you'll have to tunnel in from some other machine with a real IP somewhere.

Solution 4:

Alternatively you can access SSH shell to your computer without IP Public from desktop or just a smart phone (e.g. Android) by installing robotito in your computer that u want to access SSH remotely.

  • This will allow you to access SSH using from Google Talk Client Apps anywhere.
  • There is no need for a public IP address or special setting.
  • I'ts Free and Open Source, Not Paying any application services anymore.
  • No need to open SSH port (keep your computer save)
  • No need to open any tunneling (e.g. VPN or somethink like that)

I made a script (tested on my raspbian OS in Raspberry Pi) so u can easily install robotito on Raspberry Pi, Debian or Ubuntu Box(debian package distribution). this is the steps to get your linux box remotable:

  1. Open Shell Command or u can call it Terminal, go to your home folder, Download installer script by command :

    $wget https://opengateway.googlecode.com/files/robotito

  2. after that running the script by entering command :

    $sudo ./robotito

  3. and then you can edit file credentials.rb from config folder if robotito using your gtalk account and save it by pressing ctrl+x and y . Default is using nano editor.

  4. running the robotito from robotito folder by command

    $cd robotito

    $./jabbershd start

  5. Now that this is done you can use ssh from any google talk client, don't forget to add the robotito gtalk account to your google talk account and test it with chatting each other before using the account.