Compress files and folders over the network without using rsync

The following command ssh’s to your remote server, tar + gzips a directory, and then outputs the compressed stream to your local machine.

https://www.stackstar.com/compress-files-and-folders-over-the-network-without-using-rsync/ Script to distribute SSH Keys across many servers

The idea behind this script is to have a centralized, highly secure and restricted key repository server. Each server in your environment would run this script to “pull” the updated key list from the central server. The script would run as a cron job and can run as often as you like. Ideally every 5-10 minutes would allow for quick key updates / distribution.

https://www.stackstar.com/script-to-distribute-ssh-keys-across-many-servers/ Manage Nagios with Scripts

Working at many different organisations over the past 10 years, I have been involved in the implementation and maintenance of many different monitoring implementations. These include commercial and open source implementations, such as : – Nagios – IP Monitor – Uptime – OpenNMS – Zabbix Although Nagios may not be the most scalable or dynamic […]

https://www.stackstar.com/manage-nagios-with-scripts/ Network Audit Bash Script Using Netbios and Nmap

In order to quickly audit a network , I created this bash script to scan selected IPs, read from a configuration file, and compile a simple report to be emailed. The script can be modified to suit your needs, such as exporting the data to a database or perhaps an HTML report for a web based reporting site.

https://www.stackstar.com/network-audit-bash-script-using-netbios-and-nmap/ Log compression Bash script

In my experience as a Systems Administrator, it has come up quite often to create a script to rotate and compress rather large log files.

https://www.stackstar.com/log-compression-bash-script/