Unable to ssh nodes with global IP

Mikkel L. Ellertson mellertson at gmail.com
Sat Oct 22 12:48:28 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/22/2011 07:28 AM, Ed Greshko wrote:
> On 10/22/2011 08:17 PM, Mikkel L. Ellertson wrote:
>> On 10/22/2011 04:31 AM, Abu Attar Musharih wrote:
>>> 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?
>>
>>> Thanks in advance,
>>>  AA
>> Dumb question 1: Did you reload iptables after making the changes?
>>
>> Dumb question 2: Is sshd running on the machine you are trying to
>> connect to?
>>
>>
> 
> Dumb question 3:  Above one sees...   inet addr:120.165.xx.xxx
> 
> And then one sees...   ssh: connect to host 120.166.xx.xxx
> 
> Does anyone see a difference between 165 and 166?
> 
I missed that - I think you nailed it. (Time for coffee!)

Mikkel
- -- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk6iu5wACgkQqbQrVW3JyMSz9ACfSxeK7LTkJ5oan/VPszLrZGgL
obYAn2yhKDuuzyywU4tKYGokd5HRjhGw
=sCsS
-----END PGP SIGNATURE-----


More information about the users mailing list