Single purpose SSH-key

I’m no guru – I simply “borrowed” this from a website. Single-purpose keys So now you’re sshing and scping your brains out. Sooner or later you’ll come across one or both of these situations: 1. You want to automate some ssh/scp process to be done after hours, but can’t because no one will be around […]


So, I keep forgetting how to rebuild my arrays with mdadm (since, it doesn’t break that often). But, hereĀ“s some information: mdadm -D /dev/md2 cat /proc/mdstat #mdadm –stop /dev/md2 mdadm –assemble -v /dev/md2 /dev/sdd1 –run fsck /dev/md2 mount /point #example mdadm /dev/md0 –add /dev/sda1 –fail /dev/sdb1 –remove /dev/sdb1

openvas ubuntu (9.10) -install

“Easy” way of installing. Based on 3.0.x of openvas, contains the needed dependencies. #!/bin/bash #make me as a [] and do me a chmod +x [] #Ran on ubu 9.10 #Run as root (ie – sudo -i ) cd $HOME wget wget ##wget gunzip -d $HOME/openvas*.gz tar -xvvf $HOME/openvas-libraries-3.0.5.tar tar -xvvf $HOME/openvas-scanner-3.0.2.tar […]