[CentOS] Running SSH on a different port
Miguel Medalha
miguelmedalha at sapo.ptSat Oct 24 13:10:20 UTC 2009
- Previous message: [CentOS] Running SSH on a different port
- Next message: [CentOS] Running SSH on a different port
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> How does one switch ssh ports? What is a good port to use? What > ramifications does it have when I need to ssh in? Is it as simple as > ssh user at hots:port? > In /etc/ssh/sshd_config replace "port 22" with "port <whatever high port (> 1024) you like>" Then configure your ssh clients accordingly. I was having my logs filled with *literally* hundreds of connection attempts to port 22 every single day. Since I moved ssh to another port that stopped. Also, disable password authentication and use public/private key pairs as certification.
- Previous message: [CentOS] Running SSH on a different port
- Next message: [CentOS] Running SSH on a different port
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list