Category Archives: Snippets

Tids and bits of code.

Easy reloading of Varnish

A co-worker of mine made a nice little script to make reloading of the default VCL that Varnish uses a bit easier. Not wanting to telnet or use varnishadm manually, this script does the trick. This was taken from http://kristian.blog.linpro.no/2009/02/18/easy-reloading-of-varnish-vcl/:

ssh-agent-script

To be placed in your .bashrc-file:

ssh-clean-keys

Simple lines of code to clean invalid hosts from your .known_hosts-file.