Unable to ssh nodes with global IP

suvayu ali fatkasuvayu+linux at gmail.com
Sun Oct 23 10:09:20 UTC 2011


Hi Abu Attar,

On Sun, Oct 23, 2011 at 11:09, Abu Attar Musharih
<abuattar.musharih at gmail.com> wrote:
> The customer service said that  ssh is not allowed. So, what to do
> then? I badly need a server with global IP for experimenting grid
> computing.

To be absolutely sure you can try the following.

1. confirm your global ip (e.g. here: http://checkip.dyndns.com)
2. check sshd is running at your end and is using port 22. you can try
   ssh-ing to another local user to check easily.
3. nc -z <global.ip> 22 (from a machine outside your local network)
4. if this last step shows you that connection is not happening, you
   can try looking at your router settings. there should be a way to
   port forward your ssh connections to port 22 of the machine you want
   to use as a server.

There are 2 "gotchas" about the above. You have to use other ports on
the router for ssh to other machines on the same local network (not sure
if there is a better way, but in my limited understanding this is the
case). The other is, often ISPs have dynamic IPs, so the moment you
reconnect or reboot your router, your IP might change (will?). To get
around this you can use a service like dyndns.com (I use their free
service) and use something like ddclient to update the IP when it is
changed.

Hope this helps.

-- 
Suvayu

Open source is the future. It sets us free.


More information about the users mailing list