Welcome to Server Circle. It's a friendly site and all levels of experience are welcome. Be aware that we use cookies for your login.
Server Circle - Ask questions about Servers and get answers from experts.
Beta (0.85 sec)
Newbie changing SSH Port question

I don't want all the fake logins and need to change from port 22 but how do I do that ?
Asked by:
KiloKiki
654 points
 Report Abuse
 Share Page - Category: Linux Servers - Tags: Newbie changing SSH Port question
 Enter your response
Please use Pastie.org to paste lengthy code or to fix formatting issues with code
  • Responses in reverse (2)

Best Answer

The file that you need is usually /etc/ssh/sshd_config and Port is the setting. Change that to 222 or whatever and then /etc/init.d/ssh restart.

I just asked about something similar to do with this. More slightly unrelated info here:

http://www.servercircle.c ...

Response by:
Trinity
2782 points
Yes, it's worth changing the default port these days for sure.

Response by:
JimmyC
945 points


  • Related Questions
About Us : Contact Us : Etiquette : Terms : CDN Failover : ShorterURL : CDN Fallback : © 2013 Server Circle