If I put "export LANG=C" in /etc/sysconfig/sshd and restart sshd, all messages are in english. It seems that LANG is taken into account only when connection succeeds.
Le 30/10/2015 15:13, Philippe BOURDEU d'AGUERRE a écrit :
Thank you for you help.
I tried your tips but the problem remains. Example:
$ echo "SendEnv LANG LC_ALL" > ~/.ssh/config $ LANG=C; export LANG; LC_ALL=C; export LC_ALL $ ssh aa@quercy You are required to change your password immediately (root enforced) Last login: Fri Oct 30 15:02:34 2015 from quercy WARNING: Your password has expired. You must change your password now and login again! Changement de mot de passe pour l'utilisateur aa. Nouveau mot de passe : MOT DE PASSE INCORRECT : BEAUCOUP trop court