[root@backup ~]# uname -r
2.6.32-696.el6.x86_64
[root@backup ~]# uname -m
x86_64
[root@backup ~]# cat /etc/redhat-release
CentOS release 6.9 (Final)
telnet 10.0.0.41 22
nmap -p 22 10.0.0.41
nc 10.0.0.41 22
ss -lntup | grep 22
netstat -lntup | grep 22
lsof -i :22
ss -lntup | grep sshd
netstat -lntup | grep sshd
nmap -p 1-65535 10.0.0.41
可能要花费一点时间 ,不妨把1-65535改为1-100,再尝试一下
注:读者可根据自己的需求,进行修改命令,查找想要的结果