'Linux' Tag

  • SSH KeepAlive

    June 3, 2009

    By default, your ssh daemon probably will kick you out after a period of no activity. I like to set the following in sshd_config: TCPKeepAlive yes ClientAliveInterval 60

  • Mounting a lvm crypted device via the command line

    January 19, 2009

    #cryptsetup luksOpen /dev/HARDDISK DEVICENAME #lvmdiskscan #vgchange -ay #ls -l /dev/mapper #mkdir /media/crypt #mount /dev/mapper/DEVICENAME /media/crypt

 
Powered by Wordpress and MySQL. Theme by Shlomi Noach, openark.org