Tutorial: ssh: Password less (key based) authentication

Password-less authentication using public/private key pair Create public/private key pair Default is RSA key pair for use with SSH v2 It is created in .ssh/ in home directory Files created are id_rsa (private key file) and id_rsa.pub (public key file) Copy public key to remote server .ssh/authorized_keys file .ssh/ is in the home directory of […]

Tools 101: cryptsetup

Create a LUKS (Linux Unified Key Setup) formated, encrypted device: cryptsetup –verbose –verify-passphrase luksFormat /dev/sdb1 Display encrypted device info: cryptsetup luksDump /dev/sdb1 Open (unlock) encrypted device cryptsetup open –type luks /dev/sdb1 crypt Close (lock) encrypted device cryptsetup close –type luks crypt Add pass-phrase from key_file, total of eight are allowed cryptsetup luksAddKey /dev/sdb1 /home/xyz/key_file Remove […]