command-line/crypt Crypt and decrypt ssh folder Posted November 4, 2026 tar -czvf - -C ~ .ssh | gpg -c --cipher-algo AES256 -o ssh_backup.tar.gz.gpg gpg -d ssh_backup.tar.gz.gpg | tar -xzvf - -C ~ command line, crypt