HOW TO: Change SSH Port Number
Category: How To
CentOS, Fedora and FreeBSD by default have the port set to 22, to log in over SSH. Here’s how to change that port. Firstly, edit the SSH configuration file to enable this: vi /etc/ssh/sshd_config Find the line: #Port 22 and change it to: Port 2222 (Or a port of your choice, make sure it doesn’t overlap with … Read more