cancel
Showing results for 
Search instead for 
Did you mean: 

ssh locale issue ??

MikeL_4
Super Advisor

ssh locale issue ??

We have a client running on a Red Hat Linux Server that is connecting via ssh to a remote server running HP-UX....

When they do there ssh they get the following locale warning:

Warning! One or more of your selected locales are not available.

Please invoke the commands "locale" and "locale -a" to verify your

selections and the available locales.

Continuing processing using the "C" locale.


Warning! One or more of your selected locales are not available.

Please invoke the commands "locale" and "locale -a" to verify your

selections and the available locales.



Continuing processing using the "C" locale.



(c)Copyright 1983-2000 Hewlett-Packard Co., All Rights Reserved.

(c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California

(c)Copyright 1980, 1984, 1986 Novell, Inc.

(c)Copyright 1986-1992 Sun Microsystems, Inc.

(c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology

(c)Copyright 1989-1993 The Open Software Foundation, Inc.

(c)Copyright 1986 Digital Equipment Corp.

(c)Copyright 1990 Motorola, Inc.

(c)Copyright 1990, 1991, 1992 Cornell University

(c)Copyright 1989-1991 The University of Maryland

(c)Copyright 1988 Carnegie Mellon University

(c)Copyright 1991-2000 Mentat Inc.

(c)Copyright 1996 Morning Star Technologies, Inc.

(c)Copyright 1996 Progressive Systems, Inc.

(c)Copyright 1991-2000 Isogon Corporation, All Rights Reserved.





RESTRICTED RIGHTS LEGEND

Use, duplication, or disclosure by the U.S. Government is subject to

restrictions as set forth in sub-paragraph (c)(1)(ii) of the Rights in

Technical Data and Computer Software clause in DFARS 252.227-7013.



Hewlett-Packard Company

3000 Hanover Street

Palo Alto, CA 94304 U.S.A.



Rights for non-DOD U.S. Government Departments and Agencies are as set

forth in FAR 52.227-19(c)(1,2).

Is there something I need to do on the Linux server to resolve this or can it be ignored ???
2 REPLIES
Bob_Vance
Esteemed Contributor

Re: ssh locale issue ??

C is the default, so you can ignore it,
but you normally shouldn't get this message
Does this happen on any user and/or root ?


What does

# locale

show on the Linux box before doing the ssh.

On the HPUX box, if do a 'su - user' locally to the user that you're tyring to come in as, then what does

# locale

show when you're that user.


Does same happen for telnet?

bv
"The lyf so short, the craft so long to lerne." - Chaucer
Dennis Handly
Acclaimed Contributor

Re: ssh locale issue ??

>When they do their ssh they get the following locale warning:

What does this show on HP-UX:
env | grep -e LANG -e LC

C, the American nerd locale, is probably fine.
Do you set LANG in your .profile on in /etc/profile?