Recording SSH Sessions with Asciinema
Overview Here are three approaches to record SSH sessions made to your machine using asciinema, from simple to robust: Approach 1: Basic .bashrc Method Add asciinema recording to users' .bashrc files: # Check if not already recording if [[ -z $ASCIINEMA_REC ]]; then SESSION_ID="$(whoami)-$(date +%Y%m%