ssh强制其他终端下线
查看当前session情况
$ w
11:40:49 up 133 days, 1:33, 2 users, load average: 0.06, 0.07, 0.05
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
pi pts/0 192.168.1.3 Tue17 3days 0.33s 0.33s -bash
pi pts/1 127.0.0.1 11:36 4.00s 0.37s 0.03s w
结束对应session
$ pkill -t pts/0