Unable to ssh nodes with global IP

Abu Attar Musharih abuattar.musharih at gmail.com
Mon Oct 24 01:48:23 UTC 2011


On Sun, Oct 23, 2011 at 7:09 PM, suvayu ali <fatkasuvayu+linux at gmail.com> wrote:
> 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.

I was trying to quickly respond all the answers last night.
Unfortunately, the internet speed of this broadband connection was
very slow from home (due to large distance of its BTS, base
transceiver station).
But here, I can do experiment as follows:

 > 1. confirm your global ip (e.g. here: http://checkip.dyndns.com)

Current IP Address: 120.166.xx.xxx
(successful).

This is just similar to the info from > ifconfig

ppp0      Link encap:Point-to-Point Protocol
          inet addr:120.166.xx.xxx  P-t-P:10.64.64.64  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:2797 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2947 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:939701 (917.6 KiB)  TX bytes:409709 (400.1 KiB)

> 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.

[root at localhost tasrief]# /etc/init.d/sshd status
openssh-daemon (pid  1302) is running...
[root at localhost tasrief]#


> 3. nc -z <global.ip> 22 (from a machine outside your local network)

Connection to 120.166.xx.xxx 22 port [tcp/ssh] succeeded!

> 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.

The problem is, ssh does not work from another online laptop to to this machine.
Neither does ping.

Regards,
AA


More information about the users mailing list