[colug-432] SSH

Steve VanSlyck s.vanslyck at spamcop.net
Wed Mar 9 20:51:52 EST 2011


Well, I can ssh from the same box, and ssh from a box on the same
network, but cannot ssh from across town. The session times out

Port forwarding is set up on the router (Linksys). Using fake port
numbers,

I have sshd_config set to port 31210, ssh_config set to the same thing,
and the applications and gaming page on the router forwards port 31210
(same number for both start and end of the range) to IP 192.168.1.102,
which ifconfig reports as being the box's internal IP address:

[steve at localhost ~]$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:11:85:65:41:38  
          inet addr:192.168.1.102  Bcast:192.168.1.255
Mask:255.255.255.0
          inet6 addr: fe80::211:85ff:fe65:4138/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7360 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9076 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:6045785 (5.7 MiB)  TX bytes:1255649 (1.1 MiB)
          Interrupt:177 Memory:f0300000-f0310000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1431 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1431 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2303832 (2.1 MiB)  TX bytes:2303832 (2.1 MiB)

[steve at localhost ~]$

Ideas or thoughts?




More information about the colug-432 mailing list