Re: Centos 6: language mess with ssh

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



In article <56337B09.7080901@xxxxxxxxxxxxxxxx>,
Philippe BOURDEU d'AGUERRE <bda@xxxxxxxxxxxxxxxx> 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 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

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?

Cheers
Tony
-- 
Tony Mountifield
Work: tony@xxxxxxxxxxxxx - http://www.softins.co.uk
Play: tony@xxxxxxxxxxxxxxx - http://tony.mountifield.org
_______________________________________________
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