Re: [CentOS] Centos 6: language mess with ssh

2015-10-30 Thread Philippe BOURDEU d'AGUERRE
Le 30/10/2015 16:16, m.r...@5-cent.us a écrit : Have you changed your password? If not, you're not really logged in, and it's not getting things like language settings from your home directory. I understand that since I am not yet connected, my settings are not taken into account. But what is

Re: [CentOS] Centos 6: language mess with ssh

2015-10-30 Thread m . roth
Philippe BOURDEU d'AGUERRE wrote: > 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 enforc

Re: [CentOS] Centos 6: language mess with ssh

2015-10-30 Thread Philippe BOURDEU d'AGUERRE
Le 30/10/2015 15:32, Tony Mountifield a écrit : Maybe you also need to put "AcceptEnv LANG" in /etc/ssh/sshd_config on the remote system, to tell it to honour the LANG being sent? That's true ! But it was already there :-( Cheers, -- Philippe BOURDEU d'AGUERRE AIME - Campus de l'INSA

Re: [CentOS] Centos 6: language mess with ssh

2015-10-30 Thread Philippe BOURDEU d'AGUERRE
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. E

Re: [CentOS] Centos 6: language mess with ssh

2015-10-30 Thread Tony Mountifield
In article <56337b09.7080...@aime-toulouse.fr>, Philippe BOURDEU d'AGUERRE wrote: > 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 requir

Re: [CentOS] Centos 6: language mess with ssh

2015-10-30 Thread Philippe BOURDEU d'AGUERRE
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 q

[CentOS] Centos 6: language mess with ssh

2015-10-30 Thread Philippe BOURDEU d'AGUERRE
When I connect through SSH to my Centos 6 box, language are mixed: connection is in english but password change dialog is in french. Example: $ ssh aa@quercy You are required to change your password immediately (root enforced) Last login: Fri Oct 30 11:41:31 2015 from quercy WARNING: Your passw