技术解析
#此 PID 的 TCP 目前连接状态
ssh 7602 root 6u IPv4 303447 0t0 TCP host:7070->114.242.248.17:21019 (ESTABLISHED)
ssh 7602 root 10u IPv4 326534 0t0 TCP host:7070->120.244.175.19:35653 (ESTABLISHED)
#相关 IP 历史登录时间
root pts/0 120.244.175.19 Sat Mar 21 19:43 - 20:00 (00:16)
root pts/0 120.244.175.19 Fri Mar 20 14:51 - 17:03 (02:11)
root pts/0 114.242.248.17 Tue Mar 24 15:25 - 17:48 (02:22)
root pts/0 114.242.248.17 Tue Mar 24 10:21 - 12:36 (02:15)
#查询 TCP 建立连接时间今天下午 16 点 52 分。
lrwx------ 1 root root 64 Mar 27 16:52 10 -> socket:[326534]
lrwx------ 1 root root 64 Mar 27 16:52 6 -> socket:[303447]