ksshaskpass: 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/ksshaskpass - from package: ksshaskpass

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/ksshaskpass - from package: ksshaskpass

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