ikeygen: 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 Debian possible default full paths are:

/usr/sbin/ikeygen - from package: pidentd

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