Stop SSH from Listening on IPv6

By default, SSH listens on both IPv4 and IPv6, if you don’t connect using IPv6 then you can disable it entirely from listening. Example:

Edit your SSH config file /etc/ssh/sshd_config

Uncomment out the following line:

Restart SSH daemon

Rerun netstat to check it isn’t listening

Should you have any questions,… Read more »

Scheduling Cron Job’s in Linux

Linux Crontab Format

Field Description Allowed Value MIN Minute field 0 to 59 HOUR Hour field 0 to 23 DOM Day of Month 1 to 31 MON Month field 1 to 12 DOW Day of Week 0 to 6 CMD Command Any command or full script path Crontab Commands List Crontab

Edit Crontab… Read more »

Building a FTP Server

  1. Install ProFTPd

2. Edit proftpd configuration file

Change the following lines to the following:

Change “servername” to the server name of the ftp server and “/mnt” to the ftp root location. 3. Add user

Change “username” to a username you wish to use. If you are exposing this server… Read more »

Benchmark Linux VPS using Bash script

1. Log in to Linux VPS as root 2. Download

3. Change to executable

4. Execute

5. Review results (example only)

Should you have any questions, comments or suggestions, please don’t hesitate to comment below. If you like what you have read, please share it on your favourite… Read more »