如题,centos 7.4 系统。
netstat -antlp |grep sshd 发现是 sshd 在监听这个端口:
tcp6 0 0 :::22222 :::* LISTEN 8247/sshd
tcp6 0 0 :::22 :::* LISTEN 13609/sshd
但是查看 /etc/ssh/sshd_config 里面并没有配置 22222 端口,连 22 端口都是注释掉的:
......
#Port 22
#AddressFamily any
#ListenAddress 0.0.0.0
#ListenAddress ::
......
求教这是为何。。?
netstat -antlp |grep sshd 发现是 sshd 在监听这个端口:
tcp6 0 0 :::22222 :::* LISTEN 8247/sshd
tcp6 0 0 :::22 :::* LISTEN 13609/sshd
但是查看 /etc/ssh/sshd_config 里面并没有配置 22222 端口,连 22 端口都是注释掉的:
......
#Port 22
#AddressFamily any
#ListenAddress 0.0.0.0
#ListenAddress ::
......
求教这是为何。。?