I am using Ubuntu 12.04 64bit on my desktop and my laptop. Have install openssh client and server on both of them.
My desktop is connected to ADSL2+ Router TD-8840 with wired connection and has 192.168.1.1 IP address.
My laptop is connected to 150Mbps
Wireless N Router
TL-WR741ND with
wireless connection and has 192.168.0.1 IP address.
ADSL2+ Router TD-8840 and 150Mbps
Wireless N Router
TL-WR741ND are connected with a wired cable by useing blue port for on wlan on TL-WR741ND.
ifconfig from desktop
desktop:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:1d:92:37:1f:3d
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::21d:92ff:fe37:1f3d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:57508 errors:0 dropped:0 overruns:0 frame:0
TX packets:44508 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:51547633 (51.5 MB) TX bytes:6371374 (6.3 MB)
Interrupt:43 Base address:0x6000
eth1 Link encap:Ethernet HWaddr 00:23:cd:b1:ff:e4
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:22 Base address:0x8400
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:109 errors:0 dropped:0 overruns:0 frame:0
TX packets:109 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12044 (12.0 KB) TX bytes:12044 (12.0 KB)
ifconfig from laptop
laptop:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:a0:d1:65:2a:42
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
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:334 errors:0 dropped:0 overruns:0 frame:0
TX packets:334 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:31244 (31.2 KB) TX bytes:31244 (31.2 KB)
wlan0 Link encap:Ethernet HWaddr 00:19:d2:1b:19:81
inet addr:192.168.0.101 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::219:d2ff:fe1b:1981/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1590 errors:0 dropped:0 overruns:0 frame:0
TX packets:1276 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:874763 (874.7 KB) TX bytes:315401 (315.4 KB)
I can connect to desktop from laptop via ssh with no problem,
internet connection on laptop and desktop is working fine,
but when I want to connect to laptop from desktop via ssh in terminal I type
ssh
[email protected]
and get
ssh: connect to host 192.168.0.101 port 22: Connection timed out
If anyone is able to point out whats wrong?