in reply to Tk Listbox and SSH command

If you have access to the logs/error logs/journal on the remote host, I'd start out looking there.

Replies are listed 'Best First'.
Re^2: Tk Listbox and SSH command
by Praetrorian (Novice) on Jan 16, 2023 at 13:55 UTC

    Hello, I asked a colleague who has access. Turns out the command create a fatal error : "message authentication code incorrect". I suspected an encoding problem. So I forced the utf-8 encoding of the variable.

    $gtk_cmd = Encode::encode('UTF-8', $gtk_cmd, Encode::FB_CROAK);

    And it worked perfectly... Thank you for your answer, it led me to the solution. :)

      Glad to hear that.