SSH KeepAlive

On June 3, 2009, in Uncategorized, by Chris Carey

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

Tagged with:  

Mounting a lvm crypted device via the command line

On January 19, 2009, in Linux, by Chris Carey

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

Tagged with: