Easy multifactor authentication for SSH using YubiKey NEO tokens

The token comes with two PINs: the user PIN, default value „123456“; and the admin PIN, default value „12345678“. It is recommended to change these PINs. gpg –card-editadmingenerate(Sicherung anlegen, Key auf 4096 Byte)passwd(beide Passwörter ändern) in~/.gnupg/gpg-agent.conf pinentry-program /usr/local/MacGPG2/libexec/ enable-ssh-support write-env-file Read more ›


Status abfragenecho ’stats‘ | nc 10.XXX.XXX.XXX 11211 echo ’stats settings‘ | nc 10.XXX.XXX.XXX 11211 Einstellungenemacs /etc/memcached.conf

strace apache2

#ubuntu ps h –ppid $(cat /var/run/apache2/ | awk ‚{print“-p “ $1}‘ | xargs sudo strace -o strace.txt oderstrace $(pgrep httpd | sed ’s/^/-p/‘) -o /home/test.txt -f -r -s4096  #debianstrace $(pgrep apache2 | sed ’s/^/-p/‘) -o /home/test.txt -f -r -s4096

wireshark dump

yum install -y tcpdump tcpdump -i eth0 -q ‚(tcp port 80) or (tcp port 443)‘ -s0 -w tcpdump.cap – > nur 80 & 443 sudo tcpdump -i wlan0 -q ‚(tcp port 80) or (tcp port 443)‘ -> in Dateischreiben und Pakete Read more ›


/etc/hostsbsp: localhost localhost.localdomain www3::1 localhost localhost.localdomain localhost6 wplb wpdb mkdir -p /data/brick1yum install xfsprogs xfsdumpmkfs.xfs -i size=512 /dev/sdb2echo ‚/dev/sdb2 /data/brick1 xfs defaultsnoatime 1 2‘ >> /etc/fstabmount -a # CENTOSyum install epel-releasewget -P /etc/yum.repos.d install glusterfs-serverservice glusterd startservice glusterd statuschkconfig glusterd Read more ›

virsh / virt cmnds.

virsh list –allvirsh start/edit/shutdown [guest-name]virt-topvirsh  dumpxml [guest-name] > /vm-images/config/[guest-name].xml consolevirsh console [guest-name]console verlassen (MacOS)ctlr-alt-6 ggfs. auch ctlr-alt-(shift)-6f