XTerminal一开启,就疯狂通过ssh尝试连接我服务器各个端口
-
如下,192.168.10.10 是我的电脑 IP
Nov 20 21:36:00 pve sshd[13644]: error: kex_exchange_identification: Connection closed by remote host Nov 20 21:36:00 pve sshd[13644]: Connection closed by 192.168.10.10 port 15536 Nov 20 21:36:10 pve sshd[14082]: error: kex_exchange_identification: Connection closed by remote host Nov 20 21:36:10 pve sshd[14082]: Connection closed by 192.168.10.10 port 15754 Nov 20 21:36:20 pve sshd[14517]: error: kex_exchange_identification: Connection closed by remote host Nov 20 21:36:20 pve sshd[14517]: Connection closed by 192.168.10.10 port 15905 Nov 20 21:36:30 pve sshd[15117]: error: kex_exchange_identification: Connection closed by remote host Nov 20 21:36:30 pve sshd[15117]: Connection closed by 192.168.10.10 port 16093 Nov 20 21:36:40 pve sshd[15579]: error: kex_exchange_identification: Connection closed by remote host Nov 20 21:36:40 pve sshd[15579]: Connection closed by 192.168.10.10 port 16319 Nov 20 21:36:50 pve sshd[16038]: error: kex_exchange_identification: Connection closed by remote host Nov 20 21:36:50 pve sshd[16038]: Connection closed by 192.168.10.10 port 16653 Nov 20 21:37:00 pve sshd[16632]: error: kex_exchange_identification: Connection closed by remote host Nov 20 21:37:00 pve sshd[16632]: Connection closed by 192.168.10.10 port 16921 Nov 20 21:37:10 pve sshd[17087]: error: kex_exchange_identification: Connection closed by remote host Nov 20 21:37:10 pve sshd[17087]: Connection closed by 192.168.10.10 port 17158 Nov 20 21:37:20 pve sshd[17543]: error: kex_exchange_identification: Connection closed by remote host Nov 20 21:37:20 pve sshd[17543]: Connection closed by 192.168.10.10 port 17492 Nov 20 21:37:30 pve sshd[18134]: error: kex_exchange_identification: Connection closed by remote host Nov 20 21:37:30 pve sshd[18134]: Connection closed by 192.168.10.10 port 17676 Nov 20 21:37:35 pve sshd[1378]: Received disconnect from 192.168.10.10 port 11043:11: Nov 20 21:37:35 pve sshd[1378]: Disconnected from user root 192.168.10.10 port 11043 Nov 20 21:37:35 pve sshd[1378]: pam_unix(sshd:session): session closed for user root Nov 20 21:37:35 pve systemd-logind[569]: Session 1 logged out. Waiting for processes to exit. Nov 20 21:37:35 pve systemd[1]: session-1.scope: Deactivated successfully. Nov 20 21:37:35 pve systemd[1]: session-1.scope: Consumed 16.798s CPU time. Nov 20 21:37:35 pve systemd-logind[569]: Removed session 1. Nov 20 21:37:45 pve systemd[1]: Stopping user@0.service - User Manager for UID 0... Nov 20 21:37:45 pve systemd[1385]: Activating special unit exit.target... Nov 20 21:37:45 pve systemd[1385]: Stopped target default.target - Main User Target. Nov 20 21:37:45 pve systemd[1385]: Stopped target basic.target - Basic System. Nov 20 21:37:45 pve systemd[1385]: Stopped target paths.target - Paths. Nov 20 21:37:45 pve systemd[1385]: Stopped target sockets.target - Sockets. Nov 20 21:37:45 pve systemd[1385]: Stopped target timers.target - Timers. Nov 20 21:37:45 pve systemd[1385]: Closed dirmngr.socket - GnuPG network certificate management daemon. Nov 20 21:37:45 pve systemd[1385]: Closed gpg-agent-browser.socket - GnuPG cryptographic agent and passphrase cache (access for web browsers). Nov 20 21:37:45 pve systemd[1385]: Closed gpg-agent-extra.socket - GnuPG cryptographic agent and passphrase cache (restricted). Nov 20 21:37:45 pve systemd[1385]: Closed gpg-agent-ssh.socket - GnuPG cryptographic agent (ssh-agent emulation). Nov 20 21:37:45 pve systemd[1385]: Closed gpg-agent.socket - GnuPG cryptographic agent and passphrase cache. Nov 20 21:37:45 pve systemd[1385]: Removed slice app.slice - User Application Slice. Nov 20 21:37:45 pve systemd[1385]: Reached target shutdown.target - Shutdown. Nov 20 21:37:45 pve systemd[1385]: Finished systemd-exit.service - Exit the Session. Nov 20 21:37:45 pve systemd[1385]: Reached target exit.target - Exit the Session. Nov 20 21:37:45 pve systemd[1]: user@0.service: Deactivated successfully. Nov 20 21:37:45 pve systemd[1]: Stopped user@0.service - User Manager for UID 0. Nov 20 21:37:46 pve systemd[1]: Stopping user-runtime-dir@0.service - User Runtime Directory /run/user/0... Nov 20 21:37:46 pve systemd[1]: run-user-0.mount: Deactivated successfully. Nov 20 21:37:46 pve systemd[1]: user-runtime-dir@0.service: Deactivated successfully. Nov 20 21:37:46 pve systemd[1]: Stopped user-runtime-dir@0.service - User Runtime Directory /run/user/0. Nov 20 21:37:46 pve systemd[1]: Removed slice user-0.slice - User Slice of UID 0. Nov 20 21:37:46 pve systemd[1]: user-0.slice: Consumed 16.912s CPU time. Nov 20 21:38:54 pve sshd[18758]: error: kex_exchange_identification: Connection closed by remote host Nov 20 21:38:54 pve sshd[18758]: Connection closed by 192.168.10.10 port 19495 Nov 20 21:39:04 pve sshd[18813]: error: kex_exchange_identification: Connection closed by remote host Nov 20 21:39:04 pve sshd[18813]: Connection closed by 192.168.10.10 port 19808 Nov 20 21:39:14 pve sshd[18870]: error: kex_exchange_identification: Connection closed by remote host Nov 20 21:39:14 pve sshd[18870]: Connection closed by 192.168.10.10 port 20092
在上面的日志中,下面这行,就是我在电脑上关闭 XTerminal 的那一刻
Nov 20 21:37:35 pve sshd[1378]: Received disconnect from 192.168.10.10 port 11043:11:
然后再下面这行时,我就重新开启 Xterminal,结果就又开始了
Nov 20 21:38:54 pve sshd[18758]: error: kex_exchange_identification: Connection closed by remote host
开启 Xterminal 就会出现,关了就没有了,明显是和 Xterminal 有关,这是怎么回事呢?