Unable to ssh nodes with global IP

Andras Simon szajmi at gmail.com
Sat Oct 22 11:12:36 UTC 2011


2011/10/22, Abu Attar Musharih <abuattar.musharih at gmail.com>:
> Dear List,
>
> My internet connection is via mobile broadband. The ifconfig  lists
> the ppp0 with IP address,
>
>
> ppp0      Link encap:Point-to-Point Protocol
>           inet addr:120.165.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:5239 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:6371 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:3
>           RX bytes:3867747 (3.6 MiB)  TX bytes:1020544 (996.6 KiB)
>
> I tried to remote login (using ssh) to this IP address from another
> machine but failed.
>
> The following message appears,
>
> ssh: connect to host 120.166.xx.xxx port 22: Connection timed out
>
>
> Editing  /etc/sysconfig/iptables and add --dport 22 -j Accept does not help.
>
> Could any one please provide some suggestions?

Can you ping the machine? If yes, then are there traces in the logs
that show the connection attempts? (You can make iptables log those.)
I don't know much about networking, but I think it's good to isolate
where the real problem lies. It may not have to do anything with ssh
or the firewall.

Andras


More information about the users mailing list