Category: How To


HOW TO: Change SSH Port Number

By Craig | 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

HOW TO: Enable Root Login on FreeBSD

By Craig | Category: How To

FreeBSD by default disables ‘root’ login over SSH. If you do need to enable remote root logins over SSH this blog post lists everything you need to get started. Firstly, edit the SSH configuration file to enable this: vi /etc/ssh/sshd_config Find the line: #PermitRootLogin no and change it to: PermitRootLogin yes You need to remove  … Read more