[CentOS] One server not showing SSH port, the other is.
Eero Volotinen
eero.volotinen at iki.fi
Tue Oct 12 04:58:05 UTC 2010
2010/10/12 Ryan Manikowski <jeenam at gmail.com>:
> On 10/11/2010 7:44 PM, Joseph L. Casale wrote:
>>
>>> Specifically, how can I hide the port that SSH is running on?
>>> I'm sorry that I cannot provide the IP addresses, the owner of the servers doesn't want that! I also know how silly it is to do "stealth"
>>> ports but I'm not the one making the decision!
>
> One method to obscure the presence of the ssh daemon would be to use
> port knocking:
>
> http://dotancohen.com/howto/portknocking.html
>
>
> Honestly (and this is mere opinion), the other person (who wants to hide
> ssh-the owner) is being paranoid. Use strong passwords, run ssh on an
> alternate port, don't expose unneeded services to the outside world, and
> install something like fail2ban to block ssh attackers.
Just disable password authentication on ssh and use only keyfiles ..
--
Eero
More information about the CentOS
mailing list