Extract a crackable hash from an encrypted file with the 2john helpers, then crack it with John
Command: Linux copy
ssh2john id_rsa > hash.txt
References: