[CentOS] One server not showing SSH port, the other is.

Gordon Messmer yinyang at eburg.com
Mon Oct 11 23:40:09 UTC 2010


On 10/11/2010 04:21 PM, Dotan Cohen wrote:
> However, when running nmap on them, one betrays the port that SSH is
> running on, and the other does not. I have shut down iptables on both
> machines and the behaviour remains this way. What could be the cause?

You're probably not running a full port scan with nmap.  One of the 
systems is using a port that nmap includes in its quick scan set, and 
the other does not.

> Specifically, how can I hide the port that SSH is running on?

You can't.  If that port is open, a full nmap scan will reveal it.



More information about the CentOS mailing list