Case 1: SSH host has ONE network interface
Routing table for host SSH
:
[SSH] $ ip route
default via 192.168.211.1 dev eth0
192.168.211.0/24 dev eth0 proto kernel scope link src 192.168.211.119
Initiate ssh connection from SSH_Client
to host SSH
on LAN_0
works fluently:
[SSH_CLIENT] $ ssh [email protected] -p 22
Case 2: SSH host has TWO network interface
Routing table for host SSH
:
[SSH] $ ip route
default via 192.168.0.1 dev eth1
192.168.0.0/24 dev eth1 proto kernel scope link src 192.168.0.113
192.168.211.0/24 dev eth0 proto kernel scope link src 192.168.211.119
Initiate ssh connection from SSH_Client
to host SSH
on LAN_0
works fine:
[SSH_Client] $ ssh [email protected]
Initiate ssh connection from SSH_Client
to host SSH
on LAN_211
works for few seconds and freeze thereafter:
[SSH_Client] $ ssh [email protected]