Dante's Homepage

My little corner of Web

My picture.

Valid XHTML 1.0! Valid CSS!

On this page you can find a collection of scripts that I have written in order to help me with my work. Most of them are bash scripts and were written for FreeBSD but I also have some perl scripts and some of them are also for OpenBSD and Linux.

autossh.sh - is script that I use to make a remote ssh runnel from a box to another box and automaticly reconnect if the session goes down.In order to automate the process the login must be done using an authentication key ( NOT password based authentication !)

jbuild.sh - is a script designed to create a FreeBSD jail in a specified location. Usage : jbuild.sh <jail_detination_directory>.The scripts also adds the necessary lines in /etc/rc.conf in order for the jail to be started automaticly at boot time.

baksync.sh - uses rsync to back up a directory tree from a local machine to a remote machine. Re-run the script, as needed, ( put it in a crontab ) to keep the two machines "in sync.". It only copies new or changed files and ignores identical files. Uses SSH as the transport layer and in order to automate the process the authentication should be made using public/privte key.

createpkg.sh - the purpose of this script is to create a package for each installed port.

[ back ]

Copyright © 2007 Vasile Cristescu. All rights reserved.