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

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