Re: Centos 6: language mess with ssh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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


--
Philippe BOURDEU d'AGUERRE
AIME - Campus de l'INSA                  http://www.aime-toulouse.fr/
135 av. de Rangueil	 		 Tél +33 561 559 885
31077 TOULOUSE Cedex 4 - FRANCE 	 Fax +33 561 559 870
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux