If you install CSF (ConfigServer Security & Firewall) you will find in their recommend list that you need to change your SSH port for security reasons. And changing SSH port in both Ubuntu or CentOS is not hard.To change SSH port in Linux (Ubuntu or CentOS): 1. Open your terminal with root access 2. Edit ssh_config file:3. Change the port4. Save and close. Then restart your SSH Server:It's easy right? Now when you connect to SSH from putty probably, you need to use port … Read more...
Beginner Tips: Bad interpreter – no such file or directory
Sometimes when you run your script there was an error like this:Thats because there are one or many ^M character in your script for every newline. This is because you make/edit your script in Windows environment. Text documents that come from a Windows system won’t always play nice in Linux. The converse is true however. If you create a text file in Linux, many programs will fail to recognize the single LF as a newline and will render the document without any line breaks.To fix that … Read more...