如果管理员没有在默认22上设置ssh服务端口,我怎样才能找到他设置的端口?

时间:2011-09-29 13:30:22

标签: linux ssh

nmap无法完成这项工作。我检查过了。 ps:我只使用基本的nmap函数(nmap host)。 哦,我的上帝。相信我,我不打算做坏事。我只是好奇!请不要做-1!

更新,使用命令:nmap -v -p1-65535 -sV

Scanning hidethehostaddress [2 ports]
Completed Ping Scan at 21:38, 0.00s elapsed (1 total hosts)
Initiating Parallel DNS resolution of 1 host. at 21:38
Completed Parallel DNS resolution of 1 host. at 21:38, 0.00s elapsed
Initiating Connect Scan at 21:38
Scanning hidethehostaddress [65535 ports]
Connect Scan Timing: About 11.88% done; ETC: 21:43 (0:03:50 remaining)
Connect Scan Timing: About 32.96% done; ETC: 21:41 (0:02:04 remaining)
Completed Connect Scan at 21:40, 83.98s elapsed (65535 total ports)
Initiating Service scan at 21:40
Nmap scan report for hidethehostaddress
Host is up (0.080s latency).
Not shown: 65532 filtered ports
PORT    STATE  SERVICE VERSION
23/tcp  closed telnet
80/tcp  closed http
443/tcp closed https

Read data files from: /usr/share/nmap
Service detection performed. Please report any incorrect results at http://nmap.org   /submit/ .

完成Nmap:在84.13秒内扫描1个IP地址(1个主机)

1 个答案:

答案 0 :(得分:2)

它可以:

nmap -v -p1-65535 -sV scanme.nmap.org