pyrsa-keygen-2: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/pyrsa-keygen-2 - from package: python2-rsa

You may install the required package with command yum install {package}
Error in other languages:
pyrsa-keygen-2: bevel nie gevind nie
pyrsa-keygen-2: comandă negăsită
pyrsa-keygen-2: comando não encontrado
pyrsa-keygen-2: commande introuvable
pyrsa-keygen-2: command not found
pyrsa-keygen-2: käsku ei ole
pyrsa-keygen-2: không tìm thấy lệnh
pyrsa-keygen-2: komanda nerasta
pyrsa-keygen-2: Kommando nicht gefunden.
pyrsa-keygen-2: kommandot finns inte
pyrsa-keygen-2: komut yok
pyrsa-keygen-2: nie znaleziono polecenia
pyrsa-keygen-2: níor aimsíodh an t-ordú
pyrsa-keygen-2: no se encontró la orden
pyrsa-keygen-2: no s'ha trobat l'ordre
pyrsa-keygen-2: opdracht niet gevonden
pyrsa-keygen-2: parancs nem található
pyrsa-keygen-2: perintah tidak ditemukan
pyrsa-keygen-2: príkaz nenájdený
pyrsa-keygen-2: příkaz nenalezen
pyrsa-keygen-2: команда не найдена
pyrsa-keygen-2: командата не е открита
pyrsa-keygen-2: 命令找不到
pyrsa-keygen-2: コマンドが見つかりません