update functions and function calls

	add $SSH to argument list for gen_ssh_keys
	move duplicate code into function library

On branch master
Changes to be committed:

	modified:   includes/gitkm.lib
	modified:   includes/linuxkm.lib
	modified:   init.sh