Tag Archives: CentOS

Manipulating Files Using Terminal Commands

CentOS 6.4 Here’s a few very quick and basic commands to do things with files via the terminal. These can be vastly improved upon; please comment if you have better methods for this. Basic commands 123456// view the first 25 lines in a file $ head -25 filename.sql // view the last 25 lines in […]

Change The Default SSH Port Mac OS X

Mac OS X Snow Leopard, CentOS 6 A while back I wrote a few articles on improving security on your production server. A lot of chatter revolved around using non-standard ports for connecting via SSH. This affects other services that use SSH, such as Git, SFTP and others. Today I’m going to show you a […]

Change Default FTP Port For VSFTP

CentOS 6, VSFTP In a bid to secure our server for a production environment, we need to secure FTP as a vital step. FTP is one of the least secure and most exploited standard protocols on production servers today. Many hosting providers now take additional steps to secure FTP for this very reason. I’m using […]