Tag: Linux
-
SSH KeepAlive
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
#cryptsetup luksOpen /dev/HARDDISK DEVICENAME #lvmdiskscan #vgchange -ay #ls -l /dev/mapper #mkdir /media/crypt #mount /dev/mapper/DEVICENAME /media/crypt