Google: Difference between revisions

Line 126:
It not, is there any network disconnection/lantency/congestion?
 
SSH Packets are reaching Destination? TCPDump on Destination(look for initial TCP packets with the SYN flags). If not check:
- Using IP Correct in client side.
- DNS Correct? try host file entry or direct ip access
Line 132:
- Routes in intermediate devices.
- Packets going out of Client? check dest trace. Iptables might hv blocked, or networking issue.
- Traceroute
- Do Ping & check ICMP Traffic reaching
 
If yes check:
Line 137 ⟶ 139:
- IPTables Rejecting packets (Flush IPTabeles -F)
- Packets received on correct interface? (SSH might be listening on wrong port - ListenAddress )
- SSH from Server to localhost
 
Any traffic reaching Server? If not check:
Line 147 ⟶ 150:
- Firewall blocking all external traffic?
- Host Level Firewall dropping SSH traffic?
- Do Ping & check ICMP Traffic reaching
 
 
;SSH Config File:
Line 166 ⟶ 171:
sudo systemctl restart sshd.service
sudo systemctl status sshd.service
sudo service sshd status
 
;Wrong IP:
Line 194 ⟶ 200:
Network Congestion, Broadcast Storm
Duplicate IPs configured in same LAN, check ARP table repeatedly
 
;Debug SSH Connection:
ssh -vvv user@host
 
== System Design ==