“Ubuntu dropped” 这个表述比较模糊,通常指 Ubuntu 系统/连接/服务被丢弃或中断。常见场景包括:
下面按最常见场景给你一套排查思路。
Connection closed by remote host
client_loop: send disconnect: Connection dropped
ping 你的UbuntuIP
sudo journalctl -u ssh
# 或
sudo tail -n 50 /var/log/auth.log
grep -R "ClientAlive" /etc/ssh/sshd_config
建议:
ClientAliveInterval 60
ClientAliveCountMax 3
sudo ufw status
Welcome to emergency mode!
Give root password for maintenance
journalctl -xb
重点看:
/etc/fstab 错误检查:
cat /etc/fstab
ip addr
ip link
journalctl -u NetworkManager
dmesg | tail -n 100
journalctl -p err -b
dmesg | grep -i "killed process"
ip -s link
看 RX/TX dropped 是否增长。
或:
netstat -i
请告诉我:
lsb_release -a)我可以给你针对性的一步一步命令。