

Ssh: connect to host 192.168.1.30 port 22: Operation timed outįrom Debian machine, if I do /sbin/route, # /sbin/routeĭestination Gateway Genmask Flags Metric Ref Use Ifaceĭefault 192.168.1.1 0.0.0.0 UG 1024 0 0 eth0Īnd /sbin/iptables -L gives # /sbin/iptables -LĪCCEPT tcp - anywhere anywhere tcp dpt:sshĪs you may see, I tried to make some rules from iptables to open ssh port (22) and accept ICMP packets, but it didn't help.
LINUX SSH KEYGEN ALLOW CONNECTION FROM DIFFERENT SUBNET PRO
Vr HL TOS Len ID Flg off TTL Pro cks Src DstĤ 5 00 0054 43f 01 a4fc 192.168.12.186 192.168.1.30Ĥ 5 00 0054 192.168.12.186 192.168.1.30ĥ packets transmitted, 0 packets received, 100.0% packet lossĭebug1: Reading configuration data /Users/Sean/.ssh/configĭebug1: Reading configuration data /etc/ssh/ssh_configĭebug1: /etc/ssh/ssh_config line 20: Applying options for *ĭebug1: /etc/ssh/ssh_config line 102: Applying options for *ĭebug1: Connecting to 192.168.1.30 port 22.ĭebug1: connect to address 192.168.1.30 port 22: Operation timed out When I try to ping from macbook, it gives $ ping 192.168.1.30

The debian machine has a static IP address that's given from the router (192.168.1.30). I have a macbook on 192.168.12.x subnet, and a debian machine with apache2 server with ssh enabled sitting on 192.168.1.x subnet.
